The correct option is
B 12log|x−1x+3|−1x−1+c∫3x+1(x−1)2(x+3)dx
=∫3x+9−8(x−1)2(x+3)dx
=∫3(x+3)(x−1)2(x+3)dx−∫8(x−1)2(x+3)
=3∫1(x−1)2dx−2∫(x+3)−(x−1)(x−1)2(x+3)dx
=3∫1(x−1)2dx−2∫1(x−1)2dx+2∫1(x−1)(x+3)
=∫1(x−1)2+24[∫(x+3)−(x−1)(x−1)(x+3)dx]
=−1x−1+12log∣∣∣x−1x+3∣∣∣+c
=12log∣∣∣x−1x+3∣∣∣−1x−1+c