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

Let x represent the cost of each bottle of juice.

The cost of the bag of oranges is $2.21.

The total cost before tax is $9.38.

The cost of the 3-pack of juice bottles is 3x.

So, the equation is:
2.21 + 3x = 9.38

Solving for x:
3x = 9.38 - 2.21
3x = 7.17
x = 7.17 / 3
x = 2.39

Each bottle of juice costs $2.39.