Consider the given equation,
f(x)=x2e3x∀x∈R
Now, f(x)=x2e3x
Differentiate both sides we get
f′(x)=x2ddxe3x+e3xddxx2
=x2.3x.e3x+e3x.2x
=3x3.e3x+2x.e3x
=x.e3x.(3x2+2)
Hence, this is the answer.