A video game system and several games are sold for $500. The cost of the game is 3 times as much as the cost of the system . Find the cost of the system and the cost of the games .