constructing a perpendicular line through a point (off the line)