Solution:
Concept: Points that lie on one straight line are collinear. Exactly one straight line passes through two given points, while endlessly many lines pass through one point.
Step 1 — Draw the line AB.
First we draw the line through A and B, because collinear points must lie on it.
Step 2 — Part (i).
We mark P on line AB, between A and B. Then A, P and B are collinear.
Step 3 — Part (ii).
We mark P on line AB but outside the part between A and B (beyond B, or beyond A). The three points are still on one line.
Step 4 — Part (iii).
We mark P anywhere off the line AB. Now no single line passes through A, B and P.

Watch out: In part (ii) P must still be ON the line AB, only outside the segment AB.
Therefore, (i) P on AB between A and B; (ii) P on line AB beyond B (or beyond A); (iii) P off the line AB.