If , the modulus of z is
So factor by :
According to relation (1),
When 2 complex numbers are equal, their real parts are equal and their imaginary parts are equal.
And here, simple trigonometry can help you.
When you get used to it, you can skip most of the steps