distance between two points in coordinate geometry code example Example: get all coordinates between two points (x - 10) / (y - 5) = (15 - 10) / (90 - 5)