The next step in simplifying this expression is to identify which, if any, terms can be combined. Remember, only like terms — constant terms or terms with the same variable and the same exponent — can be combined.
g^3 - 2g^2+ 5g + 6 - g^2- 2g
We have two pairs of like terms: two g^2-terms and two g-terms. To simplify the expression we will rearrange it according to the Commutative Property of Addition and then combine like terms.