The graph shows two lines that cross at the point (5, 6) on the plane (see attached image).
This means that the point x=5 and y=6 belongs to both lines (is a solution for both equations representing the lines) and therefore this pair of values is the solution to both equations in the system.