the system of equation is:
[tex]\begin{gathered} y+2x=-1 \\ y=\frac{1}{2}x+4 \end{gathered}[/tex]If we want to know the value of x we can replace the secon equation into the first equation so:
[tex](\frac{1}{2}x+4)+2x=-1[/tex]and we solve for x so:
[tex]\begin{gathered} 2.5x=-1-4 \\ 2.5x=-5 \\ x=-\frac{5}{2.5} \\ x=-2 \end{gathered}[/tex]