The slope of a line is a measure of its steepness and is calculated by finding the ratio of the change in the y-coordinate to the change in the x-coordinate of the line.
For line 1, the change in the y-coordinate is 1 - 1 = 0, and the change in the x-coordinate is 1 - (-2) = 3, so the slope of line 1 is 0 / 3 = 0.
For line 2, the change in the y-coordinate is 12 - 8 = 4, and the change in the x-coordinate is 7 - 5 = 2, so the slope of line 2 is 4 / 2 = 2.
Therefore, line 2 has a greater slope than line 1. This means that line 2 is steeper than line 1, and it rises more quickly as you move along it from left to right.