102k views
4 votes
You spend $27 on seven bags of candy to throw while you participate in a parade.

The bags cost either $5 or $3. How many bags of each amount did you purchase?

User Wonce
by
7.0k points

2 Answers

4 votes

Final answer:

To find the number of $5 and $3 bags of candy purchased for a total of $27, set up two equations and solve the system. You would have bought 3 bags at $5 each and 4 bags at $3 each.

Step-by-step explanation:

You are trying to determine how many bags of candy you purchased at $5 and $3 given that you spent a total of $27 on seven bags. We can start by setting up two equations to represent the situation:

  • Let the number of $5 bags be x.
  • Let the number of $3 bags be y.

The first equation represents the total number of bags:

  • x + y = 7

The second equation represents the total amount spent:

  • 5x + 3y = 27

Now let's solve this system of equations:

  • From the first equation, solve for y: y = 7 - x.
  • Substitute y = 7 - x into the second equation: 5x + 3(7 - x) = 27.
  • Simplify the equation: 5x + 21 - 3x = 27.
  • Combine like terms: 2x = 6.
  • Divide both sides by 2 to get: x = 3.
  • Now, substitute x back into y = 7 - x to get y: y = 7 - 3 = 4.

Therefore, you purchased 3 bags at $5 each and 4 bags at $3 each.

User Nickofthyme
by
8.1k points
5 votes
You bought 3 bags of the $5 candy. and 4 bags of the $3.
3*$5= $15
4*$3= $12
$15+$12= $27
User Shawn Taylor
by
7.7k points