Use complementary angles to convert some cosines to sines, then use product-to-sum formulas to simplify the product. Finally, express everything in terms of and compare with the given form to find .
Start with
Use :
Group:
So
Use :
So
Now, using multiple-angle identities (expressing in terms of ) and the fact that , this expression simplifies to the required form: