Explanation:
Let's take cost of 1 hamburger as h and the cost of 1 hot dog as d.
Therefore, we can form the equations:
3h + 2d = 13 and
2h + 4d = 14
2(h +2d) = 14
h + 2d = 7
h = 7 - 2d
By substituting this to the first equation, we get:
3(7 - 2d) + 2d = 13
21 - 4d = 13
4d = 8
d = $2
h = 7 - 2(2)
h = $3
Hence 1 hot dog costs $2 and 1 hamburger costs $3