\(\Leftrightarrow x^2\left(x+2\right)-2\left(x+3\right)=0\)
\(\Leftrightarrow\left(x^2-2\right)\left(x+3\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x^2-2=0\\x+3=0\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x=\pm\sqrt{2}\\x=-3\end{matrix}\right.\)