\(f\left(-1\right)=\left(-1\right)^2-\left(3m+3\right)\cdot\left(-1\right)\)
\(=1+\left(3m+3\right)\)\(=1+3m+3=4+3m\)
\(g\left(2\right)=2^3+\left(5m-7\right)\)
\(=8+5m-7=1+5m\)
MÀ \(f\left(-1\right)=g\left(2\right)\)\(\Rightarrow4+3m=1+5m\)
\(\Rightarrow4-1=5m-3m\)
\(\Rightarrow2m=3\)
\(\Rightarrow m=\frac{3}{2}\)