This formula finds the distance between two points...or...a line if the coordinates are known.

Formula developed using the Pythagorean Theorem. Who would have ever guessed?