Answer: The cost of one bag of chips is $1.5 and cost of one bag of pretzels is $1.05.
Step-by-step explanation:
Let x= Cost of one bag of chips
y= Cost of one bag of pretzels.
As per given, we have
5x+9y=16.95 ...(i)
x+y=2.55 ...(ii)
Multiply 5 to (ii), we get
5x+5y=12.75 ...(iii)
Eliminate (iii) from (i), we get

Put value of y in (ii), we get

Hence, the cost of one bag of chips is $1.5 and cost of one bag of pretzels is $1.05.