You want:

From your other topic where we went from polar to rectangular form, you should be able to see that:

(1)

(2)

and by Pythagoras we know:

(3)

What do we get if we divide (2) by (1)? What quadrant is the angle in?

What do we get if we use (1) and (2) to substitute into (3)?