Given:
The given system of linear equations is
[tex]\begin{gathered} y=x+1 \\ y=-2x+1 \end{gathered}[/tex]Required:
We have to find the solution to the given system.
Explanation:
We use The substitution method to find the solution to the given system.
[tex]y=x+1[/tex]Substitute the above value of y in the second equation
[tex]\begin{gathered} y=-2x+1 \\ \Rightarrow x+1=-2x+1 \end{gathered}[/tex][tex]\begin{gathered} \Rightarrow x+2x=1-1 \\ \Rightarrow3x=0 \end{gathered}[/tex][tex]\begin{gathered} \Rightarrow x=\frac{0}{3} \\ \\ \Rightarrow x=0 \end{gathered}[/tex]Now put the above value of x in the first equation to get the value of y.
[tex]undefined[/tex]