I can't figure out how to integrate the following

I've tried them both, and on the first one, I can't get past the initial steps of u=4+x^2, du=2x.

On the second, I assume you have to complete the square at some point, but I don't know what to do beyond that.