Simplifying
5g + 4(-5 + 3g) = 1 + -1g
5g + (-5 * 4 + 3g * 4) = 1 + -1g
5g + (-20 + 12g) = 1 + -1g
Reorder the terms:
-20 + 5g + 12g = 1 + -1g
Combine like terms: 5g + 12g = 17g
-20 + 17g = 1 + -1g
Solving
-20 + 17g = 1 + -1g
Solving for variable 'g'.
Move all terms containing g to the left, all other terms to the right.
Add 'g' to each side of the equation.
-20 + 17g + g = 1 + -1g + g
Combine like terms: 17g + g = 18g
-20 + 18g = 1 + -1g + g
Combine like terms: -1g + g = 0
-20 + 18g = 1 + 0
-20 + 18g = 1
Add '20' to each side of the equation.
-20 + 20 + 18g = 1 + 20
Combine like terms: -20 + 20 = 0
0 + 18g = 1 + 20
18g = 1 + 20
Combine like terms: 1 + 20 = 21
18g = 21
Divide each side by '18'.
g = 1.166666667
Simplifying
g = 1.166666667
Hope this helps!