The integral is .
Consider .
Apply derivative on each side.
.
Subustiute and in the integral.
Rewrite as .
The trignometric identity is .
Consider the integral .
Subustiute .