I'll compute (Note that when computing these you'll realize how to do the other integral, they're the same.)
We have Now in your integral put and get now put and the integral becomes
As for solving the last integral, write the numerator as and split the integral into two ones, integrate by parts the second one and we're done.