The endpoints of bar(AB) have coordinates are A(9, 8) and B(-1, -2), so the midpoint is simply the average of x- component of both coordinates and the average of y- component of both coordinates.
A=(x₁, y₁)=(9, 8)
B=(x₂, y₂)=(-1, -2)
The midpoint formula is given below;
is the midpoint of bar(AB).