\(g'\left(x\right)=6f'\left(x\right)+6x+6\left(m+1\right)x-6\left(m+2\right)\)
\(g'\left(x\right)=0\Rightarrow\left(x+3\right)\left(x-1\right)\left(x-2\right)+2x-2+m\left(x-1\right)=0\)
\(\Leftrightarrow\left(x-1\right)\left(x^2+x-4+m\right)=0\)
\(\Rightarrow x^2+x-4+m=0\) có 2 nghiệm pb khác 1
\(\Rightarrow\left\{{}\begin{matrix}m\ne2\\m< \dfrac{17}{4}\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}a=b=2\\c=\dfrac{17}{4}\end{matrix}\right.\)