Hi, Iman. Let's call the other endpoint (x, y). Then we know from the Midpoint Formula that:
[x + (-1)]/2 = 4
1/2 x - 1/2 = 4
x - 1 = 8 (if we multiply thru by 2)
x = 9
Similarly, [y +2]/2 = -7
1/2 y + 1 = -7
y + 2 = -14
y = -16
The other endpoint is (9, -16)