I'd be willing to bet that you could take the RHS, substitute exp(ix) = cos(x) + i sin(x), and then use properties of even and odd functions to get the desired result. Are you sure that that -1 is in the numerator of the RHS's integrand? Because that's not such a nice feature of the problem.