Compare coefficients of and :
Divide (2) by (1):
Square (1) and (2) and add:
(taking the positive root)
So there are the values of and .
You can do part (b) in exactly the same way, but starting with . (In fact, it's slightly easier to start with since then turns out to be a positive angle.)