Since the school budget allows no more than $360 to be spent on balls and bats, we have:
![\text{total cost of balls and bats, in dollars }\le360](https://img.qammunity.org/2023/formulas/mathematics/college/3y3yrptfszhb4v1mblh148a1evc1wlprik.png)
Now, let's call x the number of balls and y the number of bats that can be bought.
• The cost to buy x balls, in dollars, is 6x.
• The cost to buy y bats, in dollars, is 24y.
So, the total cost of balls and bats, in dollars, is 6x + 24y.
Now, we can use this expression in the above inequality to obtain the inequality:
![\mathbf{6x+24y\le360}](https://img.qammunity.org/2023/formulas/mathematics/college/5zsi62wx3yknl8vx6vaobe50ffwd9boiex.png)