Casey bought sandwiches and bags of chips. Each sandwich cost three times asmuch as a bag of chips. She bought 5 sandwiches for $6 each and spent $42.How many bags of chips b did she buy?