Concept:Use partial fractions to split the integrand, then integrate each simple term separately.Explanation:Let I=∫(x−1)2(x+2)xdx.Write the integrand as: (x−1)2(x+2)x=x−1A+(x−1)2B+x+2C.Multiplying by (x−1)2(x+2) gives:x=A(x−1)(x+2)+B(x+2)+C(x−1)2.Put x=1: 1=3B⇒B=31.Put x=−2: −2=9C⇒C=−92.Equate coefficients of x2: A+C=0⇒A=92.Substitute A, B, C and integrate:92∫x−1dx+31∫(x−1)2dx−92∫x+2dx.This gives:92ln∣x−1∣−31⋅x−11−92ln∣x+2∣+c.Answer:Option D: 92log(x−1)−31×x−11−92log(x+2)+c, where c is a constant of integration.