A family of 8 went out to dinner. Each person either ordered the lobster dinner, which costs $25, or the steak dinner which cost $20. The total cost of all the meals is $190. How many people ordered each meal?

Respuesta :

Answer: 6 people ordered for the lobster dinner.

2 people ordered for the steak dinner.

Step-by-step explanation:

Let x represent the number of people that ordered the lobster dinner.

Let y represent the number of people that ordered the steak dinner.

A family of 8 went out to dinner. This means that

x + y = 8

Each person either ordered the lobster dinner, which costs $25, or the steak dinner which cost $20. The total cost of all the meals is $190. This means that

25x + 20y = 190 - - - - - - - - - -- -1

Substituting x = 8 - y into equation 1, it becomes

25(8 - y) + 20y = 190

200 - 25y + 20y = 190

- 25y + 20y = 190 - 200

- 5y = - 10

y = - 10/ - 5

y = 2

x = 8 - y = 8 - 2

x = 6