Gavin bought snacks for his team's practice. He bought a bag of apples for $2.50 and a 18-pack of juice bottles. The total cost before tax was $18.16. Write and solve an equation which can be used to determine jj, how much each bottle of juice costs.