The integral is .
Consider .
Apply derivative on each side with respect to .
.
Substitute and in .
Apply double angle formula : .
Substitute in .
Susbtitute and .