Let $(X,d)$ be a metric space and $(x_n)$,$(y_n)$ be sequences in $X$.
(a) If $x_n \to x$ and $y_n \to y$, prove that $d(x_n,y_n) \to d(x,y)$.
(b) If $x_n$ and $y_n$ are Cauchy sequences in $X$, prove that the real sequence $d(x_n,y_n)$ is convergent.
Proof. (a) Is this correct?: Let $x,y,w,z∈X$. The triangle inequality implies that $|d(x,z)-d(w,y)| \leq d(x,y)+d(z,w)$, so
$|d(x_n,y_n)-d(x,y)| \leq d(x_n,x)+d(y_n,y)$
which implies that $d(x_n,y_n) \to d(x, y)$ as $n \to ∞$ if $d(x_n,x) \to 0$ and $d (y_n, y) \to 0$.
(b) I have no ideas, you help me please?
Your proof of a looks good.
For b, it's the same idea as for a, but you don't have access to $x$ and $y$. Therefore, you need to use $d(x_n,x_m)$ and $d(y_m,y_m)$ for sufficiently large $n$ and $m$ to show that the sequence $d(x_n,y_n)$ is Cauchy, and therefore convergent.