A hockey goalie is paid $500 per game, less $45 for each goal he allows to score. Write an algebraic expression that would equal how much he gets paid in a game