you are in charge of buying candy for the school carnival. going to safeway, you purchase 12 bags of candy. one type of candy is sold for 3.75 per bag while the other kind is sold 3 dollars per bag. if the total bill before tax is 41.25 how many kinds of bags were purchased?