Let's represent the two numbers as x and y.
We are given two pieces of information:
1) The sum of the two numbers is 22:
x + y = 22
2) Three times one number is increased by five and it equals 35:
3x + 5 = 35
From equation 1, we can rewrite it as x = 22 - y.
Substituting this value of x into equation 2, we get:
3(22 - y) + 5 = 35
Simplifying this equation:
66 - 3y + 5 = 35
71 - 3y = 35
-3y = 35 - 71
-3y = -36
Dividing both sides of the equation by -3:
y = -36 / -3
y = 12
Now, substitute this value of y back into equation 1:
x + 12 = 22
x = 22 - 12
x = 10
Therefore, the two numbers are 10 and 12.