To determine the length of the line segment. Perform the following steps:
1) Find the slope between the 2 points, by using the formula for slope.
2) knowing that slope = rise(y)/run(X), you have both X and y distances, to find the hypotenuse length use Pythagorean theorem.
I believe this would be the method to solve this problem.