which methods could you use to calculate the y-coordinate of the midpoint of a vertical line segment with endpoints at (0,0) and (0,15)

which methods could you use to calculate the ycoordinate of the midpoint of a vertical line segment with endpoints at 00 and 015 class=