A, B, C, D are points on a line, with D the midpoint of segment BC. The
lengths of segment AB is 10; segment AC is 2; and segment BC is 12. What
is the length of segment AD?