In order to prove:
For $f:M\to N$ to be continuous its sufficient that $x_n\to a\implies f(x_n)_n$ is convergent in N
I'm supposing that $x_n$ is convergent, that is:
$$\forall \epsilon>0, \exists n_0 | n>n_0 \implies d(x_n, a)<\epsilon$$
Now, I must show that when all above implies $f(x_n)_n$ convergent, we have $f$ continuous. I must somehow prove that when te above implies $d(f(x_n), y)<\epsilon_2$ I have:
$$d(x,a)<\delta \implies d(f(x), f(a))<\epsilon$$
But how to relate $n$ and $x$? Or $x_n$ with $f(x)$?