Solve the system by graphing

2x+y=4
2x+y=2

We don't do graphs. I assume you know how to graph an equation. Plot both of these equations on the same (x,y) graph. Where the lines intersect is the solution. Read off the corresponding x and y value.

In your case, there is no solution because the two lines will be parallel.