The root which is for g(x) is x=-1. You indicate this in the divisor location for the synthetic division form.
;
The coefficients are shown on the right side of the division form.
___________|
_______-1__|_____1_____0_____-1_______3________0
___________|
___________|______________________________________