the only possible combinations for the first terms are 8g and 1g or 2g and 4g because those are the only two combinations that will mutliply to give 8g^2. Try 4g and 2g
(4g ?) (2g ?)
to get the last 3 we need a 3 and a 1. The signs both have to be negative because we have a positve 3 as the final term in the polynomial and a -14g as the middle term. negative times negative = positive.
Let's try (4g - 1)(2g - 3)
Mutiply using distributive property to check your answer
4g times 2g is 8g^2
4g times -3 is -12g
-1 times 2g is -2g
-1 times -3 is 3
combine like terms
8g^2-14g+3
The answer checks out.