We have to find the 2nd derivative of the function:

We would need to know the product rule of derivatives, which is:
If u and v are two functions, then the derivative of u*v is:

So, we have:

Remember, the derivative of e^x is e^x and the derivative of "x" is 1.
Thus, we have:

To get the 2nd derivative, we again have to use the product rule of differentiation on xe^x and just do the differentiation of e^x and sum it. Thus, the process is shown below:

The 2nd derivative of the function shown is:
