Integrate. The problem may or may not require substitution.
Following the hint, rewrite the integral:
We have two choices. If we let u = sin x and u' = cos x, we get the integral
which isn't very helpful. On the other hand, if we let u = cos x, then u' = -sin x and we get an integral we know what to do with: