The problem is here.
Let $(X,d)$ be a metric space and $z\in X$ is fixed. For each $p\in X$, define $f_p\colon X\to R$ such that
$f_p(x) = d(x,p) - d(x,z)$ for all $x\in X$.
Show that
(1) $f_p\in C(X)$.
(2) For $p,q\in X$, we have $\bar{d}(f_p, f_q) = d(p,q)$.
For the first part I'm thinking I just need to prove $f_p$ is continuous on $X$, which simply means that $X$ is compact....right? If $X$ is compact, then there cannot be any $p\in X$, $x_1,x_2\in X$ which gives $|(d(x_1, p) - d(x_1, z)) - (d(x_2, p) - d(x_2, z))| > \epsilon$ for $|x_1> - x_2| <\text{ some }\delta$.
Is this the correct way of thinking about this problem, or am I way off?