If (2, p) is the midpoint of the line segment joining the points A(6, – 5) and B(– 2, 11), find the value of p.

X = (m1x2 + m2x1)/ m1 + m2


= (1 × (– 2) + 1x 6)/1 + 1


= (– 2 + 6) /2


= 4/2 = 2


Y = (m1y2 + m2y1)/ m1 + m2


= (1x 11 + 1x (– 5))/2


= (11 – 5)/2


= 6 / 2 = 3


p = 3


10