EXPLANATION
Let's see the facts:
Midpoint = (-2,5)
A=(4,7)
Let the point of B as B=(x,y)
Then,

Multiplying the frist equation by 2:

Subtracting -4 to both sides:

Simplifying:

Multiplying the second equation by 2:

Subtracting -7 to both sides:

The coordinates of the point B are:
B=(-8,3)