The main identity you need is the double angle one for cosine:
We get
Expand the numerator to apply the identity again:
Finally, make use of the product identity for cosine:
so that ultimately,
9.4m questions
12.1m answers