Given two points, \(A(-1, 1)\) and \(P(a, b)\), where \(a\) and \(b\) are constants, the gradient of \(AP\) is 2.
The point A has coordinates (-2, 6). The equation of the perpendicular bisector of the line AB is given by:
\(2y = 3x + 5\).
(i) Find the equation of line AB.
(ii) Find the coordinates of point B.
Three points, A, B, and C, are such that B is the midpoint of AC. The coordinates of A are (2, m) and the coordinates of B are (n, -6), where m and n are constants.
The line \(\frac{x}{a} + \frac{y}{b} = 1\), where \(a\) and \(b\) are positive constants, intersects the x- and y-axes at the points \(A\) and \(B\) respectively. The mid-point of \(AB\) lies on the line \(2x + y = 10\) and the distance \(AB = 10\). Find the values of \(a\) and \(b\).
C is the midpoint of the line segment joining A(14, -7) and B(-6, 3). The line through C is perpendicular to AB and crosses the y-axis at D.
(i) Find the equation of the line CD in the form y = mx + c.
(ii) Find the distance AD.