6: After integrating by parts you get

This is the same integral, but with the opposite sign, so you can solve the resulting equation.

The smart substitution works like this:

This is an elementary integral. Next do the back substitution and determine the domain of the integral.

Answer