[guided]Assume the epsilon-delta condition. We must prove continuity at $x_0$ in the topological sense. That means: whenever $V$ is an open subset of $Y$ containing $f(x_0)$, the preimage $f^{-1}(V)$ must be a neighbourhood of $x_0$ in $X$.
Let $V \in \tau_Y$ be open and suppose $f(x_0) \in V$. Because $\tau_Y$ is the metric topology induced by $d_Y$, openness of $V$ at the point $f(x_0)$ gives a radius $\varepsilon > 0$ such that the metric ball
\begin{align*}
B_Y(f(x_0),\varepsilon) := \{y \in Y : d_Y(y,f(x_0)) < \varepsilon\}
\end{align*}
is contained in $V$.
Now apply the epsilon-delta hypothesis to this particular $\varepsilon$. There exists $\delta > 0$ such that, for every $x \in X$,
\begin{align*}
d_X(x,x_0)<\delta \implies d_Y(f(x),f(x_0))<\varepsilon.
\end{align*}
Define the corresponding metric ball in $X$ by
\begin{align*}
B_X(x_0,\delta) := \{x \in X : d_X(x,x_0) < \delta\}.
\end{align*}
Take any $x \in B_X(x_0,\delta)$. Then $d_X(x,x_0)<\delta$, so the implication gives
\begin{align*}
d_Y(f(x),f(x_0))<\varepsilon.
\end{align*}
Equivalently, $f(x) \in B_Y(f(x_0),\varepsilon)$. Since this ball is contained in $V$, we have $f(x) \in V$, which means $x \in f^{-1}(V)$.
Thus every point of $B_X(x_0,\delta)$ lies in $f^{-1}(V)$, so
\begin{align*}
B_X(x_0,\delta) \subset f^{-1}(V).
\end{align*}
The ball $B_X(x_0,\delta)$ is open in the metric topology $\tau_X$ and contains $x_0$. Therefore $f^{-1}(V)$ contains an open neighbourhood of $x_0$, so it is itself a neighbourhood of $x_0$. Since this holds for every open set $V \in \tau_Y$ containing $f(x_0)$, $f$ is continuous at $x_0$.[/guided]