You didn't bother to share the exact relationships, so we'll just have to assign those relationships to variables and see what develops.
Let represent the first number, represent the second number, and represent the third number. Further, let represent the sum of the three numbers, let represent the amount by which the first number is greater than the second, and the represent the factor by which the third number exceeds the second. Then:
and
Substituting from equation 2 and 3 into 1:
A little Algebra music...
Then
and
John
My calculator said it, I believe it, that settles it