Answer:
You can try to write two equation from the question
Call x a number and y the other.
The sum of them is 44: x + y = 44
The difference (substract) is 2: x - y = 2
System:
x+y=44
x-y = 2
You can just sum both equations, as the y disappear:
2x = 46
x =46/ 2 = 23
We replace in the equation:
23 - y = 2
y = 21
And we know the numbers are 21 and 23