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.
In the given figure, line AB meets y-axis at point A. Line through C(2, 10) and D intersects line AB at right angle at point P. Find :
(i) equation of line AB.
(ii) equation of line CD.
(iii) co-ordinates of points E and D.