Consider the first equation,
This equation passes through (0,-2) and (2,1).
second
This equation passes through (0,2) and (4,0).
Now we can plot the points and join them to get the corresponding lines on the graph as,
It is observed that the two lines intersect at point (2,1).
So the solution to the given equations must be x=2 and y=1.