Detailed description

Line AB drawn with point P outside AB. A(x1, y1), B(x2, y2) and P(x, y). AP = k and BP = 1.