In order to solve $ \color{blue}{ x^{3}+3x^{2}+12x = 0 } $, first we need to factor our $ x $.
$$ x^{3}+3x^{2}+12x = x \left( x^{2}+3x+12 \right) $$$ x = 0 $ is a root of multiplicity $ 1 $.
The remaining roots can be found by solving equation $ x^{2}+3x+12 = 0$.
$ x^{2}+3x+12 = 0 $ is a quadratic equation.
You can use step-by-step quadratic equation solver to see a detailed explanation on how to solve this equation.