The two points have the same y coordinate, which means that the endpoints form a horizontal segment.
Its length is the absolute value of the difference of the x coordinates:
5.7m questions
7.5m answers