Respuesta :
Answer:
1 donut and a bag of coffee costs $4.50
Step-by-step explanation:
Start by creating a pair of simultaneous equations.
Let [tex]x =[/tex] a donut.
Let [tex]y =[/tex] a bag of coffee.
Therefore:
[tex]8x+2y=18[/tex]
[tex]3x+y=7.50[/tex]
There are a few ways to solve these equations. This time I'll show you the elimination method. We eliminate one of the variables to get the other variable equal to a number.
Start by multiplying one of the equations by a number so that one of the variables has the same coefficient (number at the front) as the same variable in the other equation.
I'll multiply the second equation by 2 so that the [tex]y[/tex] will have a coefficient of 2 like the 1st equation.
[tex]2(3x+y)=2(7.50)[/tex], [tex]6x+2y=15[/tex].
Now we have two equations with the same coefficient of [tex]y[/tex]. We can subtract the equations from each other to eliminate the [tex]y[/tex] variable and leave [tex]x[/tex] equal to a number.
Subtracting [tex]8x+2y=18[/tex] and [tex]6x+2y=15[/tex] :
[tex]8x+2y-(6x+2y)=18-(15)[/tex]
Simplify to get [tex]2x=3[/tex].
Therefore [tex]x = 1.5[/tex].
Now we have one of the variables, we can find the other variable by putting the known variable back into one of the equations.
[tex]3x+y=7.50[/tex] - original equation
[tex]3(1.50)+y=7.50[/tex] - substituting [tex]x[/tex].
[tex]4.50 +y=7.50[/tex] - simplifying
[tex]y=3[/tex] - re-arranging to solve for [tex]y[/tex]
Therefore, [tex]x=1.5[/tex] and [tex]y=3[/tex].
So 1 donut costs $1.50 and 1 bag of coffee costs $3.
1 donut and a bag of coffee costs $4.50