The question provides one endpoint and then the midpoint. The midpoint on the coordinate grid is (0, -7) and one endpoint is (-2,-6).
The formula for calculting the midpoint is given as follows;
Therefore, the coordinates of B is calculated as (2, 20)