The coordinates of the midpoint are the average of the coordinates of the endpoints.
So, for example, using the endpoints (x1, y1) and (x2, y2) and the midpoint (mx, my), we have that:
Now, using the midpoint (-6, 2) and the endpoint (-9, -2), we have:
So the coordinates of the second endpoint are (-3, 6).