Answer:
Number of bags of candy = 2
Number of bags of cookies = 7
Explanation:
Let, number of bags of candy = X
So, Number of bags of cookies = X + 5
Cost of candy bag = $8
Cost of cookies bag = $2.5
Total sales = $33.50
So, Total cost of Candy Bags + Total cost of cookies bags = Total sales
= 8X + 2.5 ( X +5) = 33.50
= 8X + 2.5X + 12.5 = 33.50
= 10.5X = 33.50 - 12.5
= 10.5X = 21
X = 2
So, number of bags of candy = 2
Number of bags of cookies = 2 + 5 = 7