∫[(x+1)×e^x]/(x+2)²dx
=-∫[(x+1)*e^x]d 1/(x+2) 【分部】
=-(x+1)*e^x/(x+2)+∫[(x+2)*e^x]/(x+2)dx
=-(x+1)*e^x/(x+2)+e^x+C