Given y=x+3 and y=2x+4.
Substitute y=2x+4 in y=x+3.
[tex]\begin{gathered} y=x+3 \\ 2x+4=x+3 \\ 2x-x=3-4 \\ x=-1 \end{gathered}[/tex]Put -1 for x in y=2x+4.Hence,
[tex]\begin{gathered} y=2x+4 \\ y=2\times(-1)+4 \\ y=-2+4 \\ y=2 \end{gathered}[/tex]Therefore, the value of x is -1 and the value of y is 2.