The solution: Since the coordinates of point A are given along with coordinate of Midpoint. We can easily locate the coordinates for point B.
By using the equation: M=(x1+x2)/2 , (y1+y2)/2
Substituting M value of (-2,2): (-2,2) = (-5+x2)/2 , (7+y2)/2 We can now compute for x2 and y2 values via subject of the formula method: -2 = (-5+x2)/2 multiply by 2 of left -4 = (-5+x2) add +5 on left 1 = x2
2 = (7+y2)/2 4 = 7+y2 -3 = y2
Therefore: the coordinates for point B are (1,-3).