Coordinates and vectors

Let . Since we have

Let be the angle between and , and be the angle between and . We have

Since we have so that

Since is known we get two equations for and which have to be solved. Please solve.