The graph shows two lines, A and B.

A coordinate plane is shown. Two lines are graphed. Line A has the equation y equals x minus 1. Line B has equation y equals negative 3 x plus 7.
Based on the graph, which statement is correct about the solution to the system of equations for lines A and B? (4 points)

(1, 2) is the solution to both lines A and B.

(−1, 0) is the solution to line A but not to line B.

(3, −2) is the solution to line A but not to line B.

(2, 1) is the solution to both lines A and B.

(2, 1) is the solution to both lines A and B.