on integral Sin^2(x)DX, use the half angle trig equation

sin^2 u= (1/2)(1-cos(2u))

For integral e^x sin(x)Dx do PARTs twice

The trick is to keep the u and dv the same for both integrations

and then add the integral to the other side and solve for it.