A line has the equation \(y = kx + 6\) and a curve has the equation \(y = x^2 + 3x + 2k\), where \(k\) is a constant. For the case where \(k = 2\), the line and the curve intersect at points \(A\) and \(B\). Find the distance \(AB\) and the coordinates of the midpoint of \(AB\).
The line \(\frac{x}{a} + \frac{y}{b} = 1\), where \(a\) and \(b\) are positive constants, meets the x-axis at \(P\) and the y-axis at \(Q\). Given that \(PQ = \sqrt{45}\) and that the gradient of the line \(PQ\) is \(-\frac{1}{2}\), find the values of \(a\) and \(b\).
The line \(L_1\) passes through the points \(A(2, 5)\) and \(B(10, 9)\). The line \(L_2\) is parallel to \(L_1\) and passes through the origin. The point \(C\) lies on \(L_2\) such that \(AC\) is perpendicular to \(L_2\). Find:
The coordinates of two points A and B are (1, 3) and (9, -1) respectively, and D is the midpoint of AB. A point C has coordinates (x, y), where x and y are variables.
The line \(x - y + 4 = 0\) intersects the curve \(y = 2x^2 - 4x + 1\) at points \(P\) and \(Q\). It is given that the coordinates of \(P\) are \((3, 7)\).
(ii) Find the coordinates of \(Q\).
(iii) Find the equation of the line joining \(Q\) to the mid-point of \(AP\).