Given the following system of equations:
notice that we can use the first equation and substitute it on the second equation to get the following:
then, solving for 'x', we get:
since the variable x was eliminated in the process of solving for it, we have that both equations represent the same line, therefore, there are infinite solutions for the system