I can calculate the length of a line segment on a coordinate grid in all four quadrants or using the coordinate pairs.