To find the midpoint M of the line segment connecting points A and B, use the midpoint formula:
M=(2x1+x2,2y1+y2)
Substituting the coordinates of A and B:
M=(26+(−2),22+(−4))→M=(24,2−2)=(2,−1)
The co-ordinates of the midpoint [AB] are
M=(2,−1).