\int \frac{2x^3+5x^2+4}{x(x^2+2x+2)^2}dx