A. we can divide between for example (x+2)
In the image, we can see the synthetic division
the result is
[tex]g(x)=(x+2)(2x^2-2x-24)[/tex]B. For finishing factoring g(x) we need to solve the quadratic form found in the synthetic division
so, g(x) factorize is
[tex]g(x)=2(x+2)(x-4)(x+3)[/tex]