First assume and prove

Idea:

And by given data we have,

Now,

Multiply term by term and don't forget to use

Then equate Real and Imaginary pats on both sides to get what you want.

Now assume

ad prove

Idea:

This is simple. Write the LHS using the definition, then substitute the sine and cosine equations. Then factorize and show it's the exponential product!