Directional cosine

Exercise1.4
1.
The position vector of point A forms an angle between the $x$ axis with $\pi/4$, the $y$ axis with $\pi/3$, and the $z$ axis with $\pi/6$, and its magnitude is 6. Find the coordinates of A.