To solve the problem, we need to define the variables based on the context of the meals purchased.
Let's define:
- \( b \) as the price of a burger meal
- \( h \) as the price of a hot dog meal
From the information given, we can set up the following equations based on the purchases made by the Johnsons and the Wilsons:
-
For the Johnsons: \[ 2b + 5h = 46 \]
-
For the Wilsons: \[ 5b + 2h = 52 \]
The solution (8, 6) indicates:
- The value \( b = 8 \): This means that the price of a burger meal is $8.
- The value \( h = 6 \): This means that the price of a hot dog meal is $6.
Now, to determine who got the better deal, we can calculate the total cost for both families based on their orders:
Johnsons:
- 2 burger meals: \( 2 \times 8 = 16 \)
- 5 hot dog meals: \( 5 \times 6 = 30 \)
- Total cost for the Johnsons: \( 16 + 30 = 46 \)
Wilsons:
- 5 burger meals: \( 5 \times 8 = 40 \)
- 2 hot dog meals: \( 2 \times 6 = 12 \)
- Total cost for the Wilsons: \( 40 + 12 = 52 \)
Better deal: To assess who got the better deal, we can look at the total quantity of meals purchased divided by the total cost:
-
The Johnsons bought 2 burger meals and 5 hot dog meals, totaling 7 meals. Their cost was $46. \[ \text{Cost per meal for the Johnsons} = \frac{46}{7} \approx 6.57 \]
-
The Wilsons bought 5 burger meals and 2 hot dog meals, totaling 7 meals. Their cost was $52. \[ \text{Cost per meal for the Wilsons} = \frac{52}{7} \approx 7.43 \]
Conclusion: The Johnsons got the better deal because they paid approximately $6.57 per meal, while the Wilsons paid approximately $7.43 per meal.