Devon and his friends bought strawberry wafers for $3 per packet and chocolate wafers for $1 per packet at a carnival. They spent a total of $30 to buy a total of 22 packets of wafers of the two varieties.

Part A: Write a system of equations that can be solved to find the number of packets of strawberry wafers and the number of packets of chocolate wafers that Devon and his friends bought at the carnival. Define the variables used in the equations. (5 points)

Part B: How many packets of chocolate wafers and strawberry wafers did they buy? Explain how you got the answer and why you selected a particular method to get the answer. (5 points)

1 answer

Part A:
Let x be the number of packets of strawberry wafers bought
Let y be the number of packets of chocolate wafers bought

The total cost equation is:
3x + y = 30

The total number of packets equation is:
x + y = 22

Part B:
To solve this system of equations, we can use the method of substitution or elimination.
Using the substitution method:
x = 22 - y
Substitute x into the total cost equation:
3(22 - y) + y = 30
66 - 3y + y = 30
66 - 2y = 30
-2y = -36
y = 18
Substitute y back into x = 22 - y:
x = 22 - 18
x = 4

Therefore, Devon and his friends bought 4 packets of strawberry wafers and 18 packets of chocolate wafers at the carnival. I utilized the substitution method as it was easier to isolate one variable and solve the equations step by step.