The slope of the linear graph in the question obtained using the ratio of the rise and run of the line is 2.
Recall :
Slope = Rise / Run
From the graph :
Rise = y2 - y1 = 5 - (-1) = 5 + 1 = 6
Run = x2 - x1 = 2 - (-1) = 2 + 1 = 3
The slope of the graph can be expressed thus :
Slope = Rise / Run = 6 /3 = 2
Therefore, the slope of the line in the graph attached is 2