Answer:
x+y=8
6x+5y=45
jars of jam=5
packages of bread mix= 3
Step-by-step explanation:
givens in problem:
x= # of jars of jam
y= # of packages of bread mix
cost of jars of jam= $6
cost of packages of bread=$5
total cost= $45
total items= 8
equations:
x+y=8
6x+5y=45
solving with elimination:
x+y=8
6x+5y=45
-6(x+y=8)
6x+5y=45
-6x-6y=-48
6x+5y=45
when you add the equations together the 6x and the -6x cancel each other out
-6x+6x= 0
-6y+5y= -y
-48+45= -3
-y=-3
divide a negative 1 from both sides to get the y alone
y=3
there are 3 packages of bread mix
plug in 3 into one of the original problems for y
x+y=8
x+ 3=8
x=5
there are 5 jars of jam
hope this helps!