(a) If P = (x, y) and Q = (u, v), then the midpoint of PQ is R = ((x + u) / 2, (y + v) / 2).
(b) If S divides PQ in the ratio a : b. then S = ( (b x + a u) / (a + b), (b y + a v) / (a + b) ).
(c) Three points X, Y and Z are collinear precisely when the slopes of XY and YZ are the same. Further, supposing X-Y-Z, then Y divides XZ in the ratio |XY| : |YZ|. So to solve part (c), you must know how to calculate the slopes and lengths of XY, given the points X and Y.