Jalene bought chocolate wafers for $4 per package and vanilla wafers for $1 per package to bring to school for a class party. She spent a total of $45 to buy a total of 27 packages of wafers.



Part A: Write a system of equations that can be solved to find the number of packages of vanilla wafers and the number of packages of chocolate wafers that Jalene bought. Define the variables used in your equations.



Part B: Solve the system of equations from Part A using substitution or elimination. Explain or show the calculations you perform. Identify your solution as an ordered pair and write a sentence to explain what it means for Jalene.

1 answer

Part A:

Let x be the number of packages of chocolate wafers and y be the number of packages of vanilla wafers.

The total cost equation is:
4x + 1y = 45

The total number of packages equation is:
x + y = 27

Part B:

We will use the elimination method to solve the system of equations.

First, we'll multiply the second equation by 4 to make the coefficients of x the same in both equations:
4(x + y) = 4(27)
4x + 4y = 108

Next, we'll subtract the first equation from the modified second equation:
(4x + 4y) - (4x + y) = 108 - 45
3y = 63
y = 21

Now we can plug y = 21 back into the first equation to solve for x:
4x + 21 = 45
4x = 24
x = 6

Therefore, the solution to the system of equations is x = 6 and y = 21. This means that Jalene bought 6 packages of chocolate wafers and 21 packages of vanilla wafers for the party.