8: You get

This is an integral with of square of a tangent, for which there is a reduction formula. The problem is done after the back substitution.

If you do not remember the reduction formula, you have to look at it as a trig integral with even powers, which is solved by the tangent substitution.

Next hint
Answer