If you multiply the first equation by 2, you get the second equation. Consequently, these equations are said to be "depenent", so both describe the same line. Any of the infinite number of points on the line is a solution, so ...
... The system has infinitely many solutions.