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