From the first equation we get:
[tex]x=2y-2[/tex]
Use the value of x in the second equation like this:
[tex]y=\frac{1}{2}(2y-2)+1[/tex]
Solving the above equation for y we get:
[tex]y=y[/tex]
The above equation is alway satisfied. Then the system has an infinite set
of solutions. Any number is a solution to the system.