Answer:
Hot dog is $1.25, soda is $1.85
Explanation:
Let the number of hot dogs be h and the number of sodas be s.
Then, 3h+5s=13 and 5h+2s=9.95.
Multiplying the first equation by 5 yields 15h+25s=65.
Multiplying the second equation by 3 yields 15h+6s=29.85.
Subtracting the equations, we get 19s=35.15, meaning s=1.85.
This means 3h+5(1.85)=13, so h=1.25.