Since the school budget allows no more than $360 to be spent on balls and bats, we have:
[tex]\text{total cost of balls and bats, in dollars }\le360[/tex]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:
[tex]\mathbf{6x+24y\le360}[/tex]