X=cost of large snack Y=cost of small snack X+Y=60 5X+3Y=220 To solve for y, solve x+y=60 for x. Subtract y from both sides so you're left with x=-y+60. You now plug in -y+60 for x in the second equation. 5(-y+60)+3y=220 -5y+300+3y=220 -2y+300=220 -2y=-80 Y=40 40 small snack packs is the final answer
The snack bar sold 40 small snack packs.
L as the number of large snack packs sold,
S as the number of small snack packs sold.
We have two pieces of information from the problem:
The total number of snack packs sold: ( L + S = 60 )
The total revenue generated: ( 5L + 3S = 220 )
Now, we can solve these equations simultaneously to find S, the number of small snack packs sold.
From equation (1), solve for L:
L = 60 - S
Substitute L = 60 - S into equation (2):
5 ( 60 − S ) + 3 S = 220
Expand and simplify:
300 − 5 S + 3 S = 220 − 2 S = 220 − 300 − 2 S = − 80 S = − 2 − 80 S = 40
The snack bar sold 40 small snack packs. This was determined by solving a system of equations based on the number of packs sold and total revenue. The equations established the relationship between large and small snack packs sold.
;