\(a,f\left(x\right):g\left(x\right)=\left(3x^4+9x^3+7x+2\right):\left(x+3\right)\\ =\left[3x^3\left(x+3\right)+7\left(x+3\right)-19\right]:\left(x+3\right)\\ =\left[\left(3x^3+7\right)\left(x+3\right)-19\right]:\left(x+3\right)\\ =3x^3+7.dư.19\)
\(c,\) Để \(k\left(x\right)⋮g\left(x\right)\Leftrightarrow-x^3-5x+2m=\left(x+3\right)\cdot a\left(x\right)\)
Thay \(x=-3\)
\(\Leftrightarrow-\left(-3\right)^3-5\left(-3\right)+2m=0\\ \Leftrightarrow27+15+2m=0\\ \Leftrightarrow2m=-42\\ \Leftrightarrow m=-21\)