5 jars of jam and 3 packages of bread mix are in gift basket
<em><u>Solution:</u></em>
Let "x" be the number of jars of jam
Let "y" the number of packages of bread mix
Cost of 1 jars of jam = $ 6
Cost of 1 package of bead mix = $ 5
<em><u>There are 8 items in the basket</u></em>
Therefore,
number of jars of jam + number of packages of bread mix = 8
x + y = 8 ---------- eqn 1
<em><u>A gift basket that contains jars of jam and packages of bread mix costs $45</u></em>
Therefore, we frame a equation as:
number of jars of jam x Cost of 1 jars of jam + number of packages of bread mix x Cost of 1 package of bead mix = 45

6x + 5y = 45 --------- eqn 2
<em><u>Let us solve eqn 1 and eqn 2</u></em>
From eqn 1,
x = 8 - y --------- eqn 3
<em><u>Substitute eqn 3 in eqn 2</u></em>
6(8 - y) + 5y = 45
48 - 6y + 5y = 45
y = 48 - 45
<h3>y = 3</h3>
<em><u>Substitute y = 3 in eqn 3</u></em>
x = 8 - 3
<h3>x = 5</h3>
Thus 5 jars of jam and 3 packages of bread mix are in gift basket