The coordinates of the midpoint of a line segment is the average of the coordinates of the endpoints. Calculations for the coordinates of the other endpoint are shown below.
abscissa -1 = (5 + x) / 2 ; x = -7
ordinate 0 = (2 + x) / 2 ; y = -2
Thus, the coordinates of the endpoint is (-7, -2).