Answer
$g(-6)=149$
Work Step by Step
We are given the polynomial
$$g(x)=x^3+8x^2-7x+35.$$
We use synthetic division.
First we write the coefficients of $f$ in order of descending coefficients and write the value at which $f$ is being evaluated to the left.
Then we bring down the leading coefficient, multiply the leading coefficient by the $x$-value, write the product under the second coefficient, and add.
Then we multiply the previous sum by the $x$-value, write the product under the third coefficient, and add. Perform this for all the remaining coefficients. We get the value of $f$ at the given $x$-value as the final sum.
$$g(-6)=149.$$