a baseball team has home games on friday and sunday. the two games together earned $3085.50 for the team. fridays game generates $290.50 less than sundays game. how much money was taken in at each game ?