if B is between A and C, then AB+BC=AC. If AB+BC=AC then B is between A and C