Solution:
The statement given in the question is true.
Justification:
Equation of the line conatining the points A and B using the two-point form is,
We can see that on putting the coordinates of P in the above equation, we get zero.
Hence, we proved that the point P lies on the line AB