Sure you can !
-- The x-coordinate of the midpoint is the average (halfway between)
the x-coordinates of the end-points.
-- The y-coordinate of the midpoint is the average (halfway between)
the y-coordinates of the end-points.
The midpoint of the line segment between (9, 5) and (17, 4) is (13, 4.5) .