TeX source:
\begin{aligned}-x\left(3 x^{2}+3 x+2 x+2\right) &=0 \\-x[3 x(x+1)+2(x+1)] &=0 \\-x(3 x+2)(x+1) &=0\end{aligned}