ex and xex interesect at x equals 1 so this is the upper limit of integration. The limits of integration are 0 and 1
∫01 ex-xex = 2ex-xex which we then evaluate at both 1 and 0 and subtract.
(2e1-1e1)-(2e0-0e0) = e-2 which as a decimal should be approximately .7183
This is the area between the two curves between x=0 and x=1

Yanis K.
05/13/20
Fatima A.
Thanks a lot for your efforts but can you please clarify the steps you used to get to 2e^x-xe^x05/13/20