A giant mixed sundaes of 3 scoops vanilla ice cream and 2 scoops of chocolate.
For this problem, we assume a gallon = 20 scoops.
24 gallons chocolate * 20 scoops = 480 scoops
36 gallons vanilla * 20 scoops = 720 scoops
Dividing 480 scoops chocolate by 2 scoops per sundae will tell you how many sundaes you can make from the chocolate.
480 scoops chocolate / 2 scoops chocolate per sundae = 240 sundaes
Dividing 720 scoops vanilla by 3 scoops vanilla per sundae will tell you how many sundaes you can make from the vanilla.
720 scoops vanilla / 3 scoops vanilla per sundae = 240 sundaes
It's good to check both incase you have less of one of the other, you would go with the lesser value and assume extra of one flavor. In this case, you have exactly enough for 240 sundaes.