2: After some algebraic simplification you get

This is a trig integral with even powers, for which there is a method: the tangent substitution.

If you tried to think of a smart substitution for the original problem, you probably came up with y = tan(x).

Next hint
Answer