$\displaystyle \int \frac {x-4}{x^2+2x+5}dx$

Answer: $\displaystyle \frac{1}{2}ln(x^2+2x+5)+\frac{3}{2}\arctan(\frac{x +1}{2})+C$

Well, this one I'm not sure how to even start. I can't factor out the bottom, and making it a perfect square and separating the fractions makes to a lot more complicated than i think it needs to be. Can anyone give me any tips on how to Start/Solve this problem?

Thanks