pt = (3.0,4.0) Distance: 13.416407864998739 Line: y = 0.5x + 2.5 Slope: 0.5 Point (5.0,5.0) is on line y = 0.5x + 2.5 Point (5.0,6.0) is NOT on line y = 0.5x + 2.5 y = 0.5x + 2.5 intersects y = -0.5833333333333334x + 11.75 at (8.538461538461537,6.769230769230768) Point (8.538461538461537,6.769230769230768) is on line y = 0.5x + 2.5 Point (8.538461538461537,6.769230769230768) is on line y = -0.5833333333333334x + 11.75 Vertical line: x = 10.0 Horizontal line: y = 10.0 (10.0,10.0) p = (0.0,0.0) p = (10.0,-3.5) pCopy = (10.0,-3.5)