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