At a basketball​ game, a team made 59 successful shots. They were a combination of​ 1- and​ 2-point shots. The team scored 101 points in all. Write and solve a system of equations to find the number of each type of shot. There were nothing ​2-point shots and nothing ​1-point shots.