It is given that mid-point of line segment joining A (6, 5) and B (4, y) is P (2, 6)
In general to find the mid-point of two pointsand we use section formula as,
So,
Now equate the y component to get,