$${\mathtt{2}}{\mathtt{\,\times\,}}{\mathtt{X}}{\mathtt{\,\small\textbf+\,}}{{\mathtt{X}}}^{{\mathtt{2}}} = {\mathtt{0}}$$
2x + x2 = 0
Factor out the x-term:
x(2 + x) = 0
Two possible answers:
x = 0 or 2 + x = 0 ---> x = -2