Answer: The solution is g = 4, -8.
Step-by-step explanation: We are given to solve the following algebraic equation.

Since the above algebraic equation is quadratic, so it will have two solutions.
The solution by the method of factorization is as follows:

Thus, the required solution is g = 4, -8.