Let $w=\frac{1-iz}{z-i}$, where $z=x+iy$. Given $|w|=1$ we have to prove $z$ is a purely real number.
What i did was:
$w=\frac{1-iz}{z-i}$
$w=\frac{-i(z-i)}{(z-i)}$ took $-i$ common
$w=-i$
I am not sure whether it correct or not but how am I supposed to continue forward?
By hypothesis $|1-iz|=|z-i|$. Squaring both sides we get $1+|z|^{2}-2\Re {iz}=|z^{2}+1+2 \Re {iz}$ so $\Re iz =0$. This means $iz =ic$ for some real number $c$ which gives $z=c \in \mathbb R$.