Another method would be to use the Double angle identities:
[tex]\cos (2\theta) = 1- 2\sin^2 \theta[/tex] and [tex]\sin (2\theta) = 2 \sin \theta \cos \theta[/tex].
Into those, let [itex]\theta = x/2[/itex], and put those back into what you have and simplify.
I found that a lot of people have been telling me that but i don't understand how you use that to make the sides equal is there a way you can show me step by step
No really I can't ! You didn't even tell me which of the two methods I posted you want help with. Show us what you have tried to do yourself, so we can help you get over what you're stuck with.