Differentiate of the following with respect to x.
(1+x)ex
-xe-x
-xex
xex
xe-x
Derivative of the function is -xe-x.