what value of g makes the equation true? (x + 7)(x - 4)=x²+gx - 28

what value of g makes the equation true? (x + 7)(x - 4)=x²+gx - 28
Answer
Explanation:
Step1: Expand the left - hand side
Use FOIL method: $(x + 7)(x - 4)=x\times x+x\times(-4)+7\times x + 7\times(-4)=x^{2}-4x + 7x-28=x^{2}+3x-28$.
Step2: Compare with the right - hand side
Since $(x + 7)(x - 4)=x^{2}+3x-28$ and $(x + 7)(x - 4)=x^{2}+gx-28$, then $g = 3$.
Answer:
3