I guess the tricky part of this question is to look at what you are suppose to get, that's how I figured it out, I saw a half angle in the showing part, that gave me the idea of use the double angle on cos(\theta) to continue to simplify, which helps me solve the question in the end.
You are welcome anytime , good luck with your studies and feel free to ask anything else, I will help when I have the time or a lot of other peoples here will too