Infinitely many solutions occur when the two lines overlap completely, or in other words, they are coincident. This means every point on the line satisfies both equations, so there are infinitely many solutions.