Hi there. You did not show your factorization, so I don't know for certain what you're looking at.
Try using the Pythagorean trig identity for cos(x)^2, in the factored right-hand side. You should get a difference of squares.
If you need more help, please show us what you've done. :cool:
For future reference, it helps us to know specifics about phrases like "ran into trouble". Check out the post titled "Read Before Posting" for more guidelines. Cheers!