Let $(x_{1},4),(-2,y_{1})$ lies on the line joining the points $(2,-1),(5,-3)$ then the point $P(x_{1},y_{1})$ lies on the line:

see here https://www.toppr.com/ask/question/if-each-of-the-points-x1-4-2y1-lies-on-the-line-joining-the-points/