At a baseball game henry bought 5 hot dogs and three bags of chips for $14.82. Scoot bought 7 hotdogs and 6 nags of chip for $22.98. Find the cost of each hotdog and bag of chips