Respuesta :
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
[tex]x=y+2[/tex]
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
[tex]35x+10y=385[/tex]
3. Solve the system of two equations:
[tex]\left\{\begin{array}{l}x=y+2\\ \\35x+10y=385\end{array}\right.[/tex]
Substitute the first equation into the second equation:
[tex]35(y+2)+10y=385\\ \\35y+70+10y=385\\ \\35y+10y=385-70\\ \\45y=315\\ \\y=7\\ \\x=7+2=9[/tex]
Answer:
Gabriel bought 9 bottles of soda, and 7 bottles of sugar.
Step-by-step explanation:
This problem is solved by using a system of equations.
[tex]x[/tex] will be a bottle of soda, and [tex]y[/tex] will be a bottle of juice.
So, we know that each bottle of soda has 35 grams of sugar, this would expressed like: [tex]35x[/tex].
In addition, each bottle of juice has 10 grams of sugar, this would be: [tex]10y[/tex].
Now, the problem states that the total amount of sugar is 385 grams, this allows us to represent this with the equation:
[tex]35x+10y=385[/tex]
The problem specifies that Gabriel purchased 2 more bottles of soda than juice, this is represents with this equation:
[tex]x=y+2[/tex]
Now, we solve the system of equations 2x2, which will give us the result of each variable:
[tex]\left \{ {{35x+10y=385} \atop {x=y+2}} \right.\\\left \{ {{35x+10y=385} \atop {(x-y=2})10} \right.\\\left \{ {{35x+10y=385} \atop (10x-10y=20}} \right.\\45x=405\\x=\frac{405}{45}=9[/tex]
This means that Gabriel purchased 9 bottles of soda.
Then, we replace this value in one of the equation to find the other result:
[tex]x=y+2[/tex]
[tex]9=y+2[/tex]
[tex]y=9-2[/tex]
[tex]y=7[/tex]
So, now we know that Gabriel bought 9 bottles of soda, and 7 bottles of sugar.