Expand and simplify
Plan the distribution. Each of the terms in the first bracket multiplies each of the terms in the second, giving products before any collecting. FOIL does not apply here — it is only a mnemonic for two binomials.
Distribute the first term, 7x.
Distribute the second term, 7.
Add the two results and collect like terms.
Check the factored structure. Since , the answer must be divisible by — and indeed every coefficient is a multiple of , giving . That is a quick structural check that no term was dropped.
Verify numerically at x = 2. The original is . The expansion gives . They match.
Need to solve a different problem like this? Open the solver →