A cafeteria served hamburgers and hot dogs on a certain day. If the cost of each hamburger was $5 and the cost of each hot dog was $3, what was the total cost of the hamburgers and hot dogs served by the cafeteria that day?
(1) The total number of hamburgers and hot dogs served was 130.
(2) The ratio of the number of hamburgers to the number of hot dogs served was 3 to 2.