How do I find and for ?

If I convert to polar form, I get

Am I trying to equate the real and imaginary parts of the two sides of the equation? If so, how does the r on the RHS affect this? or can I assume it is 1 and say

and ?

How do I proceed?