The top variable shows the slope of the line on the screen. The bottom variable shows the slope of the line perpendicular to the line on the screen. When multiplied together, these slopes should equal -1. The points are draggable. Thanks to weswesrock for the coordinates idea.