Source: http://www.afkw.org/pythagore/concepts/distanceentre2pts.pdf