We have 10 cases of soda. If each case has 24 cans and each can holds 12 fluid ounces, we calculate how many fluid ounces of soda we purchased:
[tex]x=10\times24\times12=2880\text{ fluid ounces}[/tex]But we need to know how many gallons of soda we purchased. Using the following conversion rules:
[tex]\begin{gathered} 1\text{ cup }=8\text{ fluid ounces} \\ 1\text{ gallon }=16\text{ cups} \end{gathered}[/tex]Then, we multiply the first one by 360 on both sides to obtain 2880 fluid ounces:
[tex]\begin{gathered} 360\times1\text{ cup }=360\times8\text{ fluid ounces} \\ \\ \Rightarrow360\text{ cups}=2880\text{ fluid ounces} \end{gathered}[/tex]Finally, we multiply the second conversion rule by 22.5 to obtain 360 cups:
[tex]\begin{gathered} 22.5\times1\text{ gallon }=22.5\times16\text{ cups} \\ \\ \therefore22.5\text{ gallons }=360\text{ cups} \end{gathered}[/tex]Answer: 22.5 gallons