Question 840442
x + y = 22
3x + 2 = y


Substitute the second equation into the first equation.


x + (3x + 2) = 22
4x + 2 = 22
4x = 20
x = 5



The numbers are x = 5 and y = 17.