Let A, B and C be the vertices of a triangle whose position vectors with respect to an origin O are a=2i+3j+k, b=−i+4j+2k and c=5i−j+3k respectively.
a. (i) Find the length of the altitude drawn from vertex A to side BC.
b. (ii) Obtain, in vector form, the position vector of the foot D of this altitude.