The correct option is D 3
We know that the coordinates of the midpoint of a line formed by joining two points (x1, y1) and (x2, y2) are (x1+x22,y1+y22).
Here, x1=m, x2=5, y1=2 and y2=−6.
Let the coordinates of the point P be (x, y).
(x,y)=(x1+x22,y1+y22)
(4,−2)=(m+52,2+(−6)2)
⇒4=m+52
⇒m+5=8
∴m=3