The number of solutions depend on the determinant of the matrix of the system. If the determinant is different from 0, then it has one unique solution, if it 0 then it has infinite solutions.
Note that the determinant of a matrix
is ad-bc. So in our case we have 4*1-(-2)*2 = 8 which is not 0. Then the system has an unique solution.