Solution: part a.

You can use the definitions of sine and cosine to find x and y: