Let the 2 numbers be x and y.
We set up a system of equations as follows:-
x - y = 5
x + y = 43 We can solve these by the method of elimination:-
Add the 2 equations:-
2x + y + (-y) = 48
2x = 48
x = 48/2 = 24
Plug x = 24 into the first equation:-
24 - y = 5
-y = 5 - 24 = -19
y = 19
So the 2 required numbers are 19 and 24.