How do you evaluate int (x^3 + 2x^2 + 5x - 2)/(x^2 + 2x + 2)^2 dx?

Evaluate the integral. (Remember to use absolute values where appropriate. Use C for the constant of integration.)

int (x^3 + 2x^2 + 5x - 2)/(x^2 + 2x + 2)^2 dx

~~~~~~~~~~~~~~~~~~~~

enter image source here

Sorry, but I barely have time to explain. I still have a lot of homework to do, but it requires integration of rational functions by partial fractions.