1. Given the points A (2, 14) and B (17, -6).

(a) Find the distance of the line AB.

(b) Find the midpoint of the line AB.

(c) Find the gradient of the line AB.

(d) Find the equation of the line AB.

(e) Find the equation of the line parallel to AB passing through the point (3,5).

(f) Find the equation of the line perpendicular to AB passing through point (4,-2).

(g) Draw the above 3 lines on a graph.