Olivia bought 3 pretzels and 2 hot dogs for $16.75. Noah bought 5 pretzels and 3 hot dogs for $26.50. What is the cost of a pretzel and a hot dog?