Math Trig

Let :

Substitute back into , for :