Answer:
x+y=8
6x+5y=45
solve the first equation with respect to y, then plug the value of y on second equation to find x.
y=8-x
6x+5(8-x)=45
6x+40-5x=45
6x-5x=45-40
x=5
Now plug in x=5 in the equation
y=8-x
y=8-5
y=3
There are 5 jars of jam and 3 packages of bread mix in the gift basket.
Explanation: