How can I calculate it for by using the fact that ?

I tried letting u = cos(x), then

But I don't think this is right because the first term should be 0.5, not 1... and I don't see how a -0.5 might pop out of this series of cos terms....and even if it somehow does, I think this question is not meant to be that difficult...

Any ideas?

Thanks