If there are x teams in a sports league, and all the teams play each other twice, a total of N(x) games are played, where N(x)=x^2-x. A league has 10 teams, each of which play the others twice. If the league pays $45 per game, how much will it cost to play the entire schedule?