A vendor sells hot dogs and bags of potato chips. A customer buys 5 hotdogs and 2 bags of potato chips for $11.50. Another customer buys 3 hotdogs and 5 bags of potato chips for $9.75. Find the cost of each items.