154k views
2 votes
A chef got 17 bags of onions. The red onions came in bags of 4 and the yellow onions came in bags of 6. If the chef got a total of 88 onions, how many bags of each type of onion did he get?

User Goat
by
4.6k points

1 Answer

5 votes

Answer:

7 bags red onions

10 bags yellow onions

Explanation:

If r is the number of bags of red onions, and y is the number of bags of yellow onions, then:

r + y = 17

4r + 6y = 88

Solve the system of equations using substitution or elimination. Using substitution:

r = 17 − y

4(17 − y) + 6y = 88

68 − 4y + 6y = 88

2y = 20

y = 10

r = 7

User Matt Polito
by
4.8k points