If the point P(k, 0) divides the line segment joining the points A(2, –2) and B(–7, 4) in the ratio 1 : 2, then the value of k is
(a) 1
(b) 2
(c) –2
(d) –1