y=x^2e^x I am suppose to find the dy/dx of this the way i did it was x^2e^x times dy/dx of x^2 and got x^2e^x times 3x^2 this is not right and im confused on how to solve it

help pls.

d(uv)/dx= vdu/dx + u dv/dx

so, let u=x^2 v=e^x

dy/dx= 2xe^x + x^2 e^x

check my thinking.