We know that:
Slope of a line = change in y coordinate / change in x coordinate
We are given:
First point = (2,5)
Second point = (5, 14)
Calculating the change in y coordinate:
change in y (also represented by Δy) = second y - first y
Δy = 14 - 5
Δy = 9
Calculating the change in x coordinate:
Δx = second x - first x
Δx = 5 - 2
Δx = 3
Slope of the line:
Slope = (Δy) / (Δx)
Slope = 9 / 3 [replacing the values]
Slope = 3