Coordenades del punt mig d'un segment AB

M = ( A + B) / 2

A = (2, 5)
B = (7, 8)
M = Midpoint(A, B)
O = Intersect(xAxis, yAxis)
u = Vector(O, M)
a = Segment(A, B)