Starting with the system of equations:
[tex]\begin{gathered} y=x+5 \\ y=6 \end{gathered}[/tex]Substitute the value of y into the first equation and solve for x:
[tex]\begin{gathered} y=x+5 \\ \Rightarrow6=x+5 \\ \Rightarrow6-5=x \\ \Rightarrow1=x \end{gathered}[/tex]Therefore:
[tex]x=1[/tex]