Now, for the first integral, use the substitution

for the second integral, complete the square of the denominator and simplify so you can get the arctan antiderivative (recall , there is a formula for , but I think practicing the algebraic manipulation would be good for you. then look at the formula)