How do you integrate #int (x^3+x^2+2x+1)/((x^2+1)(x^2+2)) dx# using partial fractions?