Given the system of equations :
[tex]\begin{gathered} y=x+5\rightarrow(1) \\ y=2x-7\rightarrow(2) \end{gathered}[/tex]By substitution with y from equation (1) at equation (2)
[tex]x+5=2x-7[/tex]Solve the equation to find x
[tex]\begin{gathered} x-2x=-7-5 \\ -x=-12 \\ \\ x=12 \end{gathered}[/tex]By substitution with x at equation 1 to find y
[tex]y=12+5=17[/tex]So, the solution of the system of equations will be ;
[tex]\begin{gathered} x=12 \\ y=17 \\ (x,y)=(12,17) \end{gathered}[/tex]