If A(1, 2, -1) and B(-1, 0, 1) are given, then the co-ordinates of P which divides AB externally in the ratio 1:2, are [MP PET 1989]
A line AB meets X-axis at A and Y-axis at B. P(4, -1) divides AB in the ratio 1 : 2.
(i) Find the co-ordinates of A and B.
(ii) Find the equation of the line through P and perpendicular to AB.