Answer — Step by step
The sum of the digits of a two-digit number is 12. The difference between the number and the number formed by reversing its digits is 18. Write equations for these statements.
Step 1 — Name the digits
Let x be the tens digit and y be the units digit.
The original number is 10x + y. Reversing its digits gives 10y + x.
Step 2 — Write the sum equation
The sum of the digits is 12, so x + y = 12.
Step 3 — Write the difference equation
Taking the original number as the larger number, its difference from the reversed number is 18:
(10x + y) − (10y + x) = 18.
Simplify: 9x − 9y = 18.
Divide by 9: x − y = 2.
Answer
The equations are x + y = 12 and x − y = 2.
For a check, x = 7 and y = 5 give 75 − 57 = 18 and 7 + 5 = 12.
If the reversed number is taken as the larger one, the difference equation is instead y − x = 2.