In the first integral, make the substitution . The new lower limit is and the new upper limit is

So the integral

For the second integral, make the substitution . The new lower limit is and the new upper limit is

So the integral

Can you take it from here and solve each integral?