midpoint
5: the distance from A to B
the hypotenuse of triangle CAB
x2 - x1
the hypotenuse of triangle AHB
y2-y1
the hypotenuse of triangle HAC
endpoint