∫(exx2−e2x)dx
=∫exx2dx−∫e2xdx
=x2ex−∫2xex dx−e2x2+C
=x2ex−2[xex−∫1.exdx]−12e2x+C
=x2ex−2xex+2ex−e2x2+C