24/3=8
Therefore one third of the can is 8 liters.
24-8=16.
Peter has to fill 16 liters.
Using proportions, it is found that Diego traveled 15 miles in the cross-town cab ride.
<h3>What is a proportion?</h3>
A proportion is a fraction of a total amount, and the measures are related using a rule of three.
In this problem, for the miles traveled, Diego paid 18.50 - 2.25 = $16.25. Considering the fee of $1.25 per mile, the distance he traveled is given by:
d = 16.25/1.25 = 15.
More can be learned about proportions at brainly.com/question/24372153
#SPJ1