Hugo ordered sandwiches for his friends. The veggie sandwiches cost $2 apiece and the meat sandwiches cost $7 apiece. Hugo ordered 6 sandwiches and paid $27. How many of each type of sandwich did he order?

Respuesta :

3 veggie sandwiches
3 meat sandwiches

You can make a system of equations:

2x + 7y = 27

x + y = 6

x is the amount of veggie sandwiches Hugo bought and y is the amount of meat sandwiches he bought.

To solve, you can either do elimination or substitution. For substitution, you can make the second equation y = -x + 6 and plug it into the first equation so it becomes 2x + 7(-x + 6) = 27 so it becomes 2x + -7x + 42 = 27 which simplified is -5x = -15 and x = 3. So since you found x you can plug it into either of the equations to find y. Hope this helps!