I am having some trouble with this type of problem, here is the work, would someone look it over and let me know where I went wrong.

Here is the problem:

g(x) = (1x^2-1x+3)e^x Find g'(x) = ?

g(x) = e^x*x^2 - e^x*x + 3*e^x

d/dx[e^x*x^2] + d/dx[-e^x*x] + d/dx[3*e^x] =

e^x d/dx[x^2] -e^x d/dx[x] +3 d/dx[e^x] =

2e^x -e^x + 3e^x

Thankx

Keith