Evaluate the integral using an appropriate substitution.