A basketball player scored 36 times during one game. He scored a total of 59 points, two for each two-point shot and one for each free throw. How many two-point shots did he make? How many free throws?