\(\left(x+2\right)^2-3\left(x+1\right)=\left(x-1\right)^3-2x\left(1-3x\right)\)
\(\Leftrightarrow x^2+4x+4-3x-3=x^3-3x^2+3x-1-2x+6x\)
\(\Leftrightarrow x^2+x+1=x^3-3x^2+7x-1\)
\(\Leftrightarrow x^2+x+1-x^3+3x^2-7x+1=0\)
\(\Leftrightarrow-x^3+4x^2-6x+2=0\)
dùng chức năng giải pt bậc 3 (nghiệm rất xấu).