Answer:
the second number is 17 and the first one is 22
Explanation:
We will name x to the second number.
Therefore, if the first number is 5 more than the second number, it would be x + 5.
On the other hand we know that these two numbers sum up 39. So we can write the next equation and solve for x.

Therefore, the second number is 17 and the first one is 22