Ricky scored 20 points in his first game and 18 points in his second game. He played three games during the week and averaged 21 points per game. How many points did he score in his third game?