Final answer:
To find the cost of a hot dog meal and a hamburger meal, we can set up equations using the given information and solve them simultaneously. The cost of a hot dog meal is $5 and the cost of a hamburger meal is $7.
Step-by-step explanation:
To find the cost of a hot dog meal, we can subtract the cost of a hamburger meal from the total amount that Mrs. Garza paid. Let's say the cost of a hot dog meal is 'x' and the cost of a hamburger meal is 'y'. According to the given information, Mrs. Garza paid $17 for 2 hot dog meals and 1 hamburger meal. So we can set up the equation 2x + y = 17.
Similarly, we can set up an equation for Mr. Wong's purchase. Let's say the cost of a hot dog meal is 'a' and the cost of a hamburger meal is 'b'. According to the given information, Mr. Wong spent $12 for 1 hot dog meal and 1 hamburger meal. So we can set up the equation a + b = 12.
Now, we can solve these two equations simultaneously to find the values of 'x' and 'y', which will give us the cost of the meals. Solving the equations, we find that the cost of a hot dog meal is $5, and the cost of a hamburger meal is $7.