We have the system
[tex]\begin{gathered} y=\frac{1}{2}x+4 \\ 2y+2x=2 \end{gathered}[/tex]We solve it by substituting the value of y from the first equation into the second.
substituting = 1/2x+4 into 2y+2x=2 gives us
[tex]2(\frac{1}{2}x+4)+2x=2[/tex]expanding the above LHS of the above gives
[tex]x+8+2x=2[/tex][tex]3x+8=2[/tex]subtracting 8 from both sides gives
[tex]3x=-6[/tex]finally, dividing both sides by 3 results in
[tex]x=-2.[/tex]And we have the value of x. Now let us find y.
Substituting x = -2 into y= 1/2x+4 gives
[tex]y=\frac{1}{2}(-2)+4[/tex][tex]\begin{gathered} y=-1+4 \\ \therefore y=3. \end{gathered}[/tex]Thus we have the value of both x and y, and now we are in a position to write the solution to the system.
The solution to the system is
[tex](-2,3)[/tex]