Well I think I got the answer and it took me about two pages to get it trail and error.

Here's how I approached it:

I substituted with

I used half angle formula to get

I expanded everything and got

I went from there and did a few more steps and got

Can anyone check if I did it correct?