The solution to a system of linear equations is the point at which the lines representing the linear equations intersect, let's graph to determine the solution:
As we can see on the graph, the lines intersect on (5, 2). Now, let's check substituing into the equations:
So, the solution is correct.