Remember that
when solving a system by graphing, the solution is the intersection point both graphs
so
In this problem
the intersection point is (-2,2)
therefore