I'm assuming you're having difficulty with the first part of his solution. What he does is use double angles to get rid of the 1 at the front of the numerator and the denominator. I'll do the angles in the numerator as an example and then you should be able to do the rest:

When you sub those values in, the 1 will neatly disappear and the same thing will happen with the numerator. Good luck