how to solve direction for a vector
Let's say the vector is <x, y >
The direction [ reference angle] is given by :
tan-1 (y / x) = theta
Be aware that the signs on the components will tell you in what quadrant the vector will lie