A student was trying to find the solution to a system of equations, but they were incorrect. Their explanation is shown below.

3x +4y = 10
3x + 4y =2

There are infinite solutions. When I subtract the equations, I get 0x + 0y = 8, so I know that there are infinite solutions to this system of equations.

Explain the mistake that the student made: