Decide whether the given orderd pair is a solution to the stystem of equations?I don’t know how to to the bottom equation.

Given:
[tex]\begin{gathered} y=2x-6 \\ x+y=8 \end{gathered}[/tex]solve the equation for x and y then
[tex]\begin{gathered} x+y=8 \\ \text{put the value of y} \\ x+2x-6=8 \\ 3x=8+6 \\ 3x=14 \\ x=\frac{14}{3} \end{gathered}[/tex]so value of y is:
[tex]undefined[/tex]