If you take the total, and multiply it by the sales tax (.08) then you will get $17.28
(216x.08)
Answer:
9 bottles of soda and 7 bottles of juice
Step-by-step explanation:
Let x be the number of bottles of soda purchased and y be the number of bottles of juice purchased.
1. Gabriel purchased 2 more bottles of soda than bottles of juice, then

2. Each bottle of soda has 35 grams of sugar, then there are 35x g of sugar in x bottles of soda.
Each bottle of juice has 10 grams of sugar, then there are 10y g of sugar in y bottles of juice.
In total, there are 35x+10y g of sugar.
All bottles collectively contain 385 grams of sugar, thus

3. Solve the system of two equations:

Substitute the first equation into the second equation:
