Let $Y$ be a metric space and $X$ be a complete metric space. Define a linear map $T: Z\to Y$ where $Z\subset X$. Assume that $T$ is isometry and $T(Z)$ is relatively compact in $Y$. Show that $Z$ is relatively compact in $X$.
My proof is as follows but I am not sure if this works... It seems that I did not use the completeness of $Y$.
Since $T(Z)$ is relatively compact, then for any $n\in \mathbb{N}$, there is a finite cover of $T(Z)$ by open balls of radius $1/n$ with centre $\{y_1,y_2,\dots, y_N\}$. That is $$T(Z)\subset \cup_{i=1}^N B_{y_i}(\frac{1}{n})$$
Then for every $x\in Z$, there exists $y_x\in \{y_1,y_2,\dots, y_N\}$ so that $$ |\|x\|-\|y_x\||=|\|Sx\|-\|y_x\||\le \|Tx-y_x\|_Y<\frac{1}{n} $$
But how to find a finite cover of $A$ with centre in $X$ but not $Y$...