We need to find the midpoint of the segment defined by the endpoints:
(9, -2) and (9, -8)
Notice that these two points are on the same vertical line that goes through x = 9
So we could just find the midpoint of the y coordinate in between the given ones using the formula for midpoint coordinates:
ym = y1 + (y2-y1)/2
ym = -8 + (-2 - -8)/2
ym = -8 + 6/2
ym = -8 + 3
ym= -5
Then the coordinates of the midpoint are: (9, -5)