Solve the system of equations by substitution;
[tex]\begin{gathered} y=2x+4---(1) \\ -3x+6y=15---(2) \end{gathered}[/tex]From equation (1), we note that y equals 2x plus 4, hence we substitute this value of y into equation (2)
[tex]\begin{gathered} -3x+6y=15 \\ -3x+6(2x+4)=15 \end{gathered}[/tex]Next, we expand the parenthesis on the left side of the equation
[tex]-3x+12x+24=15[/tex]Next we collect all like terms as follows;
[tex]12x-3x=15-24[/tex]Solve this and we arrive at;
[tex]9x=-9[/tex]Divide both sides by 9
[tex]\begin{gathered} \frac{9x}{9}=-\frac{-9}{9} \\ x=-1 \end{gathered}[/tex]We can now substitute for x = -1 into equation (1)
[tex]\begin{gathered} y=2x+4 \\ y=2(-1)+4 \\ y=-2+4 \\ y=4-2 \\ y=2 \end{gathered}[/tex]The solution is
x = -1, y= 2