Let ε be a real number with ε>0. Since (xm)m∈N converges to x, there is N∈N such that
d(xm,x)<εfor every m∈N with N≤m.
Let k∈N with N≤k. Because (nk)k∈N is strictly increasing, Strictly Increasing Sequences of Natural Numbers Dominate Their Index gives k≤nk. The order ≤ on N is transitive by Properties of the Order on the Natural Numbers, so N≤k and k≤nk yield N≤nk. Applying the displayed inequality with m=nk gives
d(xnk,x)<ε.
Thus for every real ε>0 there is N∈N such that d(xnk,x)<ε for every k∈N with N≤k. By Convergent Sequence in a Metric Space the subsequence (xnk)k∈N converges to x in (X,d).