# How do you differentiate  g(x) = x^2sin3x ?

$2 x \sin \left(3 x\right) + {x}^{2} \cdot 3 \cos \left(3 x\right)$