Position vectors of midpoint of AB

Please move the sliders to change the coordinates of A(a, b) and B(c, d).