A chef got 30 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 156 onions, how many bags of each type of onion did he get?

Please help please please Please
This question is killing me

A chef got 30 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 156 onions how many bags of eac class=

Respuesta :

Answer:

  • 12 bags of red onions
  • 18 bags of yellow onions

Step-by-step explanation:

Let the number of bags with red onions be x and same of yellow be y.

Each bag has 4x or 6y onions.

According to question we set the following equations.

Total number of bags is 30:

  • x + y = 30

Total number of onions is 156:

  • 4x + 6y = 156

We have a system, lets solve it by elimination.

Multiply the first equation by 6 and subtract the second equation:

  • 6(x + y) - (4x + 6y) = 30*6 - 156
  • 6x - 4x + 6y - 6y = 180 - 156
  • 2x = 24
  • x = 12

Find the value of y:

  • y + 12 = 30
  • y = 30 - 12
  • y = 18
ACCESS MORE
EDU ACCESS