Based on the given problem above, here is the given solution. Given that small bags = $5 large bags = $8 6 bags = $45 ? = number of each size bag you bought The answer based on the given values above is 5 LARGE BAGS and 1 SMALL BAG. Since per large bag is $8. $8 x 5 = $40 And per small bag is $5 x 1 = $5 So this gives you a total of $45 hope this helps!