First, expand the brackets within the integrand and simplify the result.
Now recall the double angle formula:
This can be rearranged to
Making this substitution in the integrand leads to
This integral can now be determined by recalling the standard results for integration of trigonometric functions.