we can replace the value of y from one equation to another
this time I want to replace the first value of Y in the second equation
then
[tex](2x-12)=-3x+18[/tex]we will put the values accompanied with x on one side and the numbers on the other side
[tex]2x+3x=18+12[/tex]do the operations
[tex]5x=30[/tex]solve for x dividing 5 on both sides
[tex]x=\frac{30}{5}=6[/tex]the value of x is 6, now I can replace x on any of the principal equations
I am replacing on the second
[tex]\begin{gathered} y=-3x+18 \\ y=-3(6)+18 \\ y=-18+18 \\ y=0 \end{gathered}[/tex]the vaku