On the second integral,
First, I think you meant
, not (you forgot to bracket the exponent).
First, we want to complete the square in the denominator:
So using , we get
From here, you can use the trigonometric substitution , which gives and
You can take it from there.