I'm working on the following exercise (from T.Tao's Analysis 2 book):
"Let $f\colon \mathbb{R}\to\mathbb{R}$ be a function. For any $a\in\mathbb{R}$, let $f_a\colon\mathbb{R}\to\mathbb{R}$ be the shifted function $f_a(x):=f(x-a)$.
a) Show that $f$ is continuous iff, whenever $(a_n)_{n=1}^\infty$ is a sequence of real numbers which converges to zero, the shifted functions $f_{a_n}$ converge pointwise to $f$.
b) Show that $f$ is uniformly continuous iff, whenever $(a_n)_{n=1}^\infty$ is a sequence of real numbers which converges to zero, the shifted functions $f_{a_n}$ converge uniformly to $f$."
Now, I proved (a) and (b) (the rightward implication) but I'm stuck on the remaining one, namely the leftward implication of (b).
EDIT: I'm writing the proof below, I need just an hint to finish it.
(NOTE: I know that a question about this same exercise is already on MSE, but as far as I know it's about point (a) of the exercise, which I've already done.)
(Proof)
Let $\varepsilon>0$ and $x_0\in X$ be arbitrary, let also $(x_n)_{n=1}^\infty$ be a sequence converging to $x_0$ and consider the sequence $(a_n)_{n=1}^\infty$ defined by $a_n:=x_0-x_n$; then by hypothesis there exists $N>0$ such that $|f_{a_n}(x_0)-f(x_0)|=|f(x_n)-f(x_0)|<\varepsilon\ \forall n\geq N$ and since $(f_{a_n})_{n=1}^\infty$ converges uniformly to $f$ and $x_0$ and $(x_n)_{n=1}^\infty$ were chosen arbitrarily we have that this $N>0$ is such that $|f(x_n)-f(x_0)|<\varepsilon$ for all $x_0\in\mathbb{R}$ and $x_n \to x_0$. (TODO)
Now, how can I translate what I've found into $\exists \delta>0: |f(x)-f(x_0)|<\varepsilon\ \forall x,x_0\in X$ such that $|x-x_0|<\delta$?