Let’s call the two numbers “x” and “y”.
From the problem statement, we know that:
x + y = 40 (equation 1)
and
x – y = 4 (equation 2)
We can solve for x and y by adding equations 1 and 2:
x + y + x – y = 40 + 4
2x = 44
x = 22
Substituting this value of x into equation 1, we get:
22 + y = 40
y = 18
So the two numbers are 22 and 18.
The ratio of the numbers can be found by dividing the larger number by the smaller number:
22 ÷ 18 = 11/9
Therefore, the resultant ratio of the numbers is 11:9.