Suppose that A(3,5) and B(7,1) are any two given points. The point where the line with slope m=1 and bisecting the line segment AB¯ meets the line AB¯ is
−5,4
5,0
5,3
0,−4
Since the line is bisecting the line AB¯, required point is midpoint of AB¯
Hence the midpoint of AB is x1+x22,y1+y22=3+72,5+12=(5,3)