原式=∫[(x³+2x²)-(2x²+4x)+(7x+14)-12]/(x+2)dx =∫[x²(x+2)-2x(x+2)+7(x+2)-12]/(x+2)dx =∫x²-2x+7-12/(x+2) dx =1/3*x³-x²+7x-12ln|x+2|+C望采纳