Multiply the equations by constants so that one variable has opposite coefficients, then add them: that variable cancels. Solve for the other, and substitute back.
| Step | On and | |
|---|---|---|
| 1 | Line up the variables. Both equations in the form , under , under . | already aligned |
| 2 | Scale so one variable has equal or opposite coefficients. Multiply each whole equation; choose the variable with the easier least common multiple.Multiplication property of equality ↗ | : ; : |
| 3 | Add or subtract the equations. Opposite coefficients: add. Equal coefficients: subtract. The chosen variable must disappear. | subtract: |
| 4 | Back-substitute and check in both equations. Use either original equation. | ; check: ✓ |