Referred to an origin \(O\), the points \(A\), \(B\) and \(C\) have position vectors \((9\mathbf{i} - 2\mathbf{j} + \mathbf{k})\), \((6\mathbf{i} + 2\mathbf{j} + 6\mathbf{k})\) and \((3\mathbf{i} + p\mathbf{j} + q\mathbf{k})\) respectively, where \(p\) and \(q\) are constants.
- Find, in vector form, an equation of the line \(l\) which passes through \(A\) and \(B\). [2]
Given that \(C\) lies on \(l\),
- find the value of \(p\) and the value of \(q\), [2]
- calculate, in degrees, the acute angle between \(OC\) and \(AB\). [3]
The point \(D\) lies on \(AB\) and is such that \(OD\) is perpendicular to \(AB\).
- Find the position vector of \(D\). [6]