Section 5.2-8. Solve the following system of equations by substitution or elimination. Enter your answer as (x,y).-3x+y = 12x-y = 2

To solve the system:
[tex]\begin{gathered} -3x+y=1 \\ 2x-y=2 \end{gathered}[/tex]we solve the second equation for y:
[tex]\begin{gathered} 2x-y=2 \\ y=2x-2 \end{gathered}[/tex]and substitute the value of y in the first equation and solve for x:
[tex]\begin{gathered} -3x+2x-2=1 \\ -x=3 \\ x=-3 \end{gathered}[/tex]Now we plug the value of x in the expression for y:
[tex]\begin{gathered} y=2(-3)-2 \\ y=-6-2 \\ y=-8 \end{gathered}[/tex]Therefore x=-3 and y=-8