Maya bought snacks for her team's practice. She bought a bag of oranges for $2.87 and a 3-pack of juice bottles. The total cost before tax was $6.38. Write and solve an equation which can be used to determine jj, how much each bottle of juice costs.