Answer with Step-by-step explanation:
Let j be the cost of each juice box and h be the cost of each hot dog.
3j + 2h = 8
2j + h = 5
Multiply second equation by 2 and subtract from first equation
3j+2h-4j-2h=8-10
-j=-2
⇒ j=2
Putting value of j in equation first, we get
3×2+2h=8
⇒ 6+2h=8
⇒ 2h=2
⇒ h=1
Hence, Cost of each juice box=$ 2
and Cost of each hot dog=$ 1