Ethan buys cookies and onions at the store.
He pays a total of $55.48.
He pays a total of $3.48 for the cookies.
He buys 8 bags of onions that each cost the same amount.
Write and solve an equation which can be used to determine xx, how much each bag of onions costs.