Answer:
(Look at image)
Step-by-step explanation:
(Also look at image)
that is the solution to the question
g^3 - 7
write
(2g^2+3g-8)-(5g+1)
(5g^3-8)-(5g+1)
and then you get g^3 - 7
sorry if it is not write but it should be