Rewrite the expression in long division form
.
Divide the first term of the dividend by the first term of the divisor.
. \ \
So, the first term of the quotient is g. multiply (g - 2) by g and subtract.

\
Divide the first term of the dividend by the first term of the divisor.
.
So, the first term of the quotient is 2g2. multiply (g - 2) by 2g2 and subtract.
Divide the first term of the dividend by the first term of the divisor.
.
So, the first term of the quotient is g. multiply (g - 2) by g and subtract.
\
Divide the first term of the dividend by the first term of the divisor.
.
So, the first term of the quotient is 2. multiply (g - 2) by 2 and subtract.
\ \
The quotient is (g - 2), and the remainder is - 14. Therefore,
\
The result of division form
.