To find the slope in a line. You need to choose two point in that line:
You have points coordinates: (x,y)
p1 : (2,5)
p2 : (6.7)
You draw two lines to form a right triangle with those two points and find the distance is y and the distance in x:
The slope is:


simplify:

The slope of the given line is: 1/2