Tyler and Gabe went to the arcade and played the same two games. Tyler played 5 rounds of one game and two rounds of the other for $24. Gabe played 4 rounds of each game for $30. Write two equations for the amounts the two boys spent. Then find the cost for one round of each game.