ok, first we set up 2 equations with the given info
let chips = c & pretzels = p
[tex]5c + 9p = 16.95[/tex]
[tex]10c + 10p = 22.50[/tex]
next we solve for a single variable in one of the equations (I chose the first one)
[tex]c = \frac{16.95 - 9p}{5} [/tex]
now plug it into our second equation
[tex]33.90 - 18p + 10p = 22.50[/tex]
simplify
[tex]11.40 = 8p[/tex]
divide
[tex]1.425 = p[/tex]
next plug p back into our first equation
[tex]5c + 9(1.425) = 16.95[/tex]
[tex]5c = 4.125[/tex]
[tex]c = .825[/tex]
Chips cost = $0.825
Pretzels cost = $1.425