Well, they told you $Re(z), Re(w) > 0$ so you have been given permission to do use the real and imaginative parts.
So prove $|\frac {(Re(z) - Re(w)) + i(Im(z) - Im(z))}{(Re(z)+R(w)) + i(Im(w) - Im(z)}| < 1$
Which is to say $\frac {\sqrt{(Re(z) -Re(w))^2+ (Im(z) - Im(w))^2}}{\sqrt{(Re(z) + Re(w))^2 + (Im(w) - Im(z))^2}} < 1$ which has nothing to do with complex numbers.
If $a,b>0$ and $c \ge 0$ then
$(a + b)^2 = a^2 + 2ab +b^2 > a^2 - 2ab + b^2 = (a-b)^2$ but both are non-negative.
And $(a+b)^2 + c > (a-b)^2 + c> 0$ so
$\sqrt{(a+b)^2 + c}> \sqrt{(a-b)^2 + c}$ and
$\frac {\sqrt{(a-b)^2 + c}}{\sqrt{(a+b)^2 + c}} < 1$
Let $a = Re(z)$ and $b=Re(w)$ and $c = (Im(w) - Im(z))^2$ and ... we are done.