Well I may have not understood your problem because I only needed the first equation (3 equation for 3 unknow variable)..
Without calcul error solution may looks like...(and assuming cross product is vectorial product)
x1=(b1a1+b2a2+b3a3)/(a1a3-a2a3);
x2=(b1a1+b2a2+b3a3)/(a2a1-a3a1);
x3=(b1a1+b2a2+b3a3)/(a3a2-a1a2);
where 1 2 3 are indices for x y z axes...
