b is the midpoint of ac and c is the midpoint of bd prove ab