Rewrite in simplest terms:
Treat the leading minus as multiplication by . A bare minus in front of a bracket is the most common place to lose a sign, so make it explicit:
Both signs inside flip — not just the first one.
Distribute the over the second bracket. Again every term inside is affected:
The product of two negatives gives , while gives .
Rewrite the whole expression with no brackets left.
Collect like terms, one variable at a time. The terms:
The terms:
so the expression simplifies to . Terms in and can never be merged with each other — they are unlike.
Check by substituting numbers. Take , . Original: . Simplified: . A second test with , gives and . Two independent values are enough to confirm a linear expression in two variables.
Need to solve a different problem like this? Open the solver →