A baseball team has home games on wednesday and sunday. the two games together earn ​$4595.50 for the team. wednesday​'s game generates ​$579.50 less than sunday​'s game. how much money was taken in at each​ game?