Simplify
Decide what has to happen before any combining. Like terms can only be collected once no parentheses remain, so the first job is distributing the across . The leading parentheses have a coefficient of and can simply be dropped.
Distribute the -3, tracking both signs. The multiplier is negative three, so each inner sign flips:
Missing the second flip and writing is the single most common error in this problem. The expression becomes
Group the like terms. Terms in go with terms in , and with — they are not like terms with each other and can never be merged:
Combine each group.
The terms annihilate completely, so the variable disappears from the answer.
State the result.
The expression is independent of — a surprisingly small answer for a two-variable start, which is worth double-checking.
Verify with random substitutions. Testing random pairs drawn from , the original expression equals every time to machine precision ✓. For instance at : ✓.
Need to solve a different problem like this? Open the solver →