These are some questions I can't solve on a practice test, if anyone can help me it'd be great.

1. $\displaystyle \int \frac{5}{x^2+6x+25}dx$

2. $\displaystyle \int \frac{3x^2+14x+19}{x^2+4x+5}dx$

For 1. I'm not sure what to do. Just integrating it normally doesn't seem right.

For 2. I used long division for it and got $\displaystyle 3+\frac{2x+4}{x^2+4x+5}$ and have no idea what to do next.

And also this one(should be easier)

$\displaystyle \int arctan(x)dx$