Recall that, in systems of linear equations, when the number of equations is the same as the number of variables there is likely to be a solution. This is not guaranteed, but for sure it is possible to find a solution.
So the case of Infinitely many solutions claims for the same lines. These systems are called consistent. Thus, if we isolate the variable of each equation we have:
As you can see these equations are the same, therefore they represent the same line as indicated in the Figure below.