[step:Show every point within distance $\rho$ of $x$ remains inside $B(x_0,r)$]
Let $y\in B(x,\rho)$ be arbitrary. By the definition of the open ball centered at $x$, we have
\begin{align*}
d(y,x)<\rho.
\end{align*}
Using the triangle inequality in the metric space $(X,d)$ for the points $y,x,x_0\in X$, we get
\begin{align*}
d(y,x_0)\le d(y,x)+d(x,x_0).
\end{align*}
Since $d(y,x)<\rho=r-d(x,x_0)$, adding $d(x,x_0)$ to both sides gives
\begin{align*}
d(y,x)+d(x,x_0)<r.
\end{align*}
Combining the two inequalities yields
\begin{align*}
d(y,x_0)<r.
\end{align*}
Hence $y\in B(x_0,r)$. Since $y\in B(x,\rho)$ was arbitrary, we conclude
\begin{align*}
B(x,\rho)\subset B(x_0,r).
\end{align*}
[/step]