Answer:
g=3
Step-by-step explanation:
multiply x with x-4 and +7 with x-4 to open the brackets
x^2 - 4x + 7x - 28 = x^2 +gx - 28
x^2 + 3x - 28 = x^2 + gx -28
x^2 - x^2 + 3x -28 + 28 = gx
gx is kept alone on the other side because we have to find value of g
cancel out +x^2 -x^2 and +28 -28
we ll be left with
3x = gx
divide both sides by x
3x/x = gx/x
cancel out x in the numerators with the x in the denominators
3 = g