All you need is the trig identity . If you write and reverse the product of the denominator terms everything cancels. Let me write out a few to demonstrate.

and each term equals one. For example the first term

since from the identity.

or the last term

since from the identity.