Final answer:
The difference of two numbers is six and the sum is 18. The numbers are 12 and 6.
Step-by-step explanation:
To find the two numbers, let's represent them as x and y. According to the problem, the difference of the two numbers is 6, which can be written as:
x - y = 6
The sum of the numbers is 18, which can be written as:
x + y = 18
We can solve these equations by adding them together:
(x - y) + (x + y) = 6 + 18
2x = 24
x = 12
Substituting the value of x into one of the original equations, we can find y:
12 + y = 18
y = 6
So the two numbers are 12 and 6.