Given data:
The expression for the amount of money is y=-2.5x+50.
The given expression can be written as,
2.5x=50-y
x=(50-y)/2.5
x become maximum when y is minimum and the minimum value of y is zero.
so, the maximum value of x is,
x =50/2.5
=20
Thus, the maximum value of x is 20.