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.5m questions
12.2m answers