Let:
x = Cost of each ride
y = Cost of each drink
z = Cost of each bag of pocorn
so:
Henry rode on 5 rides, bought 2 drinks , 1 bag of popcorn and spent $20.50:
[tex]5x+2y+z=20.50_{\text{ }}(1)[/tex]Mary spent $16.50 on 3 rides, 3 drinks and 1 bag of popcorn:
[tex]3x+3y+z=16.5_{\text{ }}(2)[/tex]Tim rode rode on 6 rides only purchased 1 drink and spent $20.00:
[tex]6x+y=20_{\text{ }}(3)[/tex]Solve the system:
[tex]\begin{gathered} (1)-(2) \\ 5x-3x+2x-3y+z-z=20.5-16.5 \\ 2x-y=4_{\text{ }}(4) \end{gathered}[/tex][tex]\begin{gathered} (3)+(4) \\ 6x+2x+y-y=20+4 \\ 8x=24 \\ x=\frac{24}{8} \\ x=3 \end{gathered}[/tex]Answer:
Each ride cost $3