For this case we have to:
x: Be the variable that represents the largest number
y: Be the variable that represents the smallest number
We propose a system of equations:

From the first equation we have to:

Substituting in the second equation:

We look for the value of "x":

Answer:
