A student is attempting to factor a polynomial. Sample mathematical work is shown below. Which statement best applies to the sample mathematical work?
Given gh2 + g2h, the factors of the first term are g, h, and h2, and the factors of the second term are g, g2, and h. Thus, the greatest common factor is g. Dividing through by the greatest common factor, I get h2 + gh. Thus, the factored polynomial is g(h2 + gh).
A.
The student identified the greatest common factor incorrectly.
B.
The student incorrectly divided each term by the greatest common factor.
C.
The student failed to simplify the expression.
D.
The mathematical work shown is correct.