Let x and y be the two numbers. x will be the larger number and y the smaller one.
According to the given information, the difference of x and y is 4:
The sum of y and 3 times x is 36:
So the system of equations is:
Solve the system by elimination by adding these equations:
x has a value of 10. Use this value and the first equation to find y:
y has a value of 6.
It means that the 2 numbers are 10 and 6.