Coordinate geometry
Detailed description
Line AB with point P marked between points A and B with AP = k and PB = 1.