Write the direction cosines of the vectors

The direction cosines of a vector are



In this question, a1=-2, a2=1 and a3=-5, Substituting in formulas we get



1