Simplify
Distribute the minus sign across the whole second bracket. Subtraction flips the sign of every term inside, including the ones that are already negative:
Flipping only the first term is the usual mistake and produces instead of the correct entries.
Write out the full unbracketed expression.
Identify which terms are genuinely like terms. In two variables, terms combine only when both exponents match. Comparing the monomials , , , , , the only repeated pattern is , which appears twice. All other terms are alone.
Combine the one matching pair.
The coefficient becomes because the subtraction already turned into .
Order the result by degree in x. Collecting the surviving terms from the highest power of downwards:
Every term has total degree , which is a useful consistency check for a homogeneous expression like this one.
Verify with a numerical substitution. Taking , : the original expression is , and the answer gives . The two agree, confirming all five coefficients.
Need to solve a different problem like this? Open the solver →