Note that x = r.cos(theta) and y = r.sin(theta)
Multiply both sides by the denominator of the RHS, and distribute the r.
Can you take it from here?