Answer:
pretzels cost $2.75 and hot dogs cost $4.25
Explanation:
Given data
let the cost of pretzels be x and the cost of hot dogs be y
Olivia bought 3 pretzels and 2 hot dogs for $16.75
3x+2y= 16.75----------1
Noah bought 5 pretzels and 3 hot dogs for $26.50
5x+3y= 26.5-----------2
solve 1 and 2
3x+2y= 16.75 X 3
5x+3y= 26.5 X 2
9x+6y= 50.25
-10x+ 6y= 53
-x= -2.75
x= 2.75
put x= 2.75 in 1
3( 2.75)+2y= 16.75
8.25+2y= 16.75
2y= 16.75-8.25
2y= 8.5
y= 8.5/2
y= 4.25
Hence pretzels cost $2.75 and hot dogs cost $4.25