$$\displaystyle\frac{d}{d x } \left( { 3 }^{ { x }^{ 2 } } \right)$$
$2\ln(3)x\times 3^{x^{2}}$
$2\ln(3)\left(2\ln(3)x^{2}+1\right)\times 3^{x^{2}}$