To solve for the two numbers, we can set up a system of equations based on the information given:
Let:
- \( x \) be the first number
- \( y \) be the second number
From the problem, we have the following equations:
- \( x + y = 26 \) (the sum of the numbers)
- \( x - y = 2 \) (the difference of the numbers)
Now we can solve this system of equations.
Step 1: Solve for \( x \) in terms of \( y \)
From equation (2): \[ x = y + 2 \]
Step 2: Substitute into equation (1)
Substituting \( x \) into equation (1): \[ (y + 2) + y = 26 \]
Step 3: Combine like terms
\[ 2y + 2 = 26 \]
Step 4: Solve for \( y \)
Subtract 2 from both sides: \[ 2y = 24 \] Now divide by 2: \[ y = 12 \]
Step 5: Substitute back to find \( x \)
Now, substituting \( y \) back into \( x = y + 2 \): \[ x = 12 + 2 = 14 \]
Conclusion
The two numbers are:
- \( x = 14 \)
- \( y = 12 \)
Thus, the two numbers are 12 and 14.