Josiah buys cheese and onions at the store. He pays a total of $35.41. He pays a total of $6.26 for the cheese. He buys 5 bags of onions that each cost the same amount. How much does each bag of onions cost?