Answer :
Given that
[tex]\begin{gathered} g(x)=3x^3+11x^2-14x-40 \\ =3x^3+5x^2+6x^2+10x-24x-40 \\ =x^2(3x+5)+2x(3x+5)-8(3x+5) \\ =(3x+5)(x+4)(x-2) \end{gathered}[/tex]Given that
[tex]\begin{gathered} g(x)=3x^3+11x^2-14x-40 \\ =3x^3+5x^2+6x^2+10x-24x-40 \\ =x^2(3x+5)+2x(3x+5)-8(3x+5) \\ =(3x+5)(x+4)(x-2) \end{gathered}[/tex]