Let (xy, y) and (*2, y) represent the coordinates of the endpoints of a horizontal segment. a. Write and simplify a formula for t h edistance d between theendpointsof a horizontal segment. b. Write and simplify a formula for the coordinates of the midpoint M of a horizontal segment.