I have three known 3-Dimensional points: A, B, and C.
Addtionally, I have a fourth point, X.
X lies on vector AB such that vector CX is perpendicular to vector AB. So AB · CX = 0 
How do I find the unit vector of CX?
The use-case here is that I am constructing a (translated) rotational matrix, where the origin is A, the z-axis passes through B, the xz-plane passes thtough C, and the axes are orthogonal
I also have a vector object that provides dot and cross product functions at my disposal.