Answer :
Substitute [tex]x[/tex] in the first equation with [tex]y+2[/tex] from the other equation.
Then you have [tex]y+2+y=6 \Leftrightarrow \boxed{(y+2)+y=6}[/tex]
Then you have [tex]y+2+y=6 \Leftrightarrow \boxed{(y+2)+y=6}[/tex]