Let's denote the price of one hot dog by "h" and the price of one cotton candy by "c". We can set up a system of equations based on the given information:
Adam's purchase:
1c + 1h = 5
Shannon's purchase:
3c + 1h = 11
We can now solve this system of equations using substitution or elimination. Here's how to solve using substitution:
From the first equation, we can solve for 1h:
1h = 5 - 1c
We can now substitute this expression for 1h into the second equation:
3c + (5 - 1c) = 11
Simplifying this equation, we get:
2c + 5 = 11
Solving for c, we get:
c = 3
Now that we know the price of one cotton candy is $3, we can substitute this value back into the first equation to solve for h:
1c + 1h = 5
1(3) + 1h = 5
h = 2
Therefore, one hot dog costs $2 and one cotton candy costs $3.