Let $z, w$ be distinct complex numbers. Show that if $|z| = 1$ or $|w| = 1$, then
$$\left|\frac{w-z}{1-\overline{w}z}\right| = 1$$
Hint: Note that $|a|^2 = a\overline a$
I have been stuck on this problem for a while and cant seem to find somewhere to start.
Edit: The question linked is a different question
Edit: I have been able to prove the |w|=1 case, but when proving the z case I take these steps and cant seem to figure out where to go next. $|1-\overline{w}z| = |z\overline{z} - \overline{w}z| = |z||\overline{z} - \overline{w}| = |\overline{z} - \overline{w}|$