Let x be the first, number and y be the second, then we can set the following system of equations:
Subtracting the second equation from the first one, and solving for y we get:
Substituting y=5 in the second equation, and solving for x we get:
Answer: The first number is 11 and the second one is 5.