Solve this system of equations usingthe substitution method.y = 3x - 1=-2x + 6 = y([?],[]

Given:
[tex]\begin{gathered} y=3x-1----(1) \\ 2x+6=y----(2) \end{gathered}[/tex]Required:
To solve the system of equation using substitution method.
Explanation:
Substitute the equation (1) in equation (2), we get
[tex]\begin{gathered} 2x+6=3x-1 \\ \\ 2x-3x=-1-6 \\ \\ -x=-7 \\ \\ x=7 \end{gathered}[/tex]Put x = 7 in equation (1),
[tex]\begin{gathered} y=3(7)-1 \\ \\ =21-1 \\ \\ =20 \end{gathered}[/tex]Final Answer:
[tex]\begin{gathered} x=7 \\ y=20 \end{gathered}[/tex]