$$\left. \begin{array} { l } { 3 x ^ { 2 } - 9 x ^ { 2 } y + 6 x y ^ { 2 } } \end{array} \right.$$
$3x\left(2y^{2}+x-3xy\right)$