Distance between two points on the coordinate axis Distance between two points on the line parallel to the coordinate axis