2.12: Perpendicular line through midpoint; distance

The diagram shows the points and . The mid-point of is and the line is perpendicular to . The point has coordinates .
(i)[5]
Find the equation of the line in the form , where and are exact constants.
(ii)[1]
Hence find an expression for in terms of .
(iii)[5]
Given that the length of is 10 units, find the value of and of .
