On the right track, but you're not quite remember your rules correctly.

For the first derivative, use the chain rule. Derivative of the outside 3e^(x^2) times the derivative of the inside (x^2)

Once you've got that, you're going to have a function that is an x times an exponential along the lines of ?xe^(x^2). From there, you need to use the product rule. Which is the derivative of the first function (?x) times the second function (e^(x^2)) plus the first function times the derivative of the second function. Or f'(x)g(x)+f(x)g'(x) (should be familiar from your text) On the derivative of your second function, don't forget the chain rule again!

Hopefully that helps, or if not, that someone can come and correct me.