A line is perpendicular to two lines having direction ratios 1, -2, -2 and 0, 2, 1. The direction cosines of the line are
If a line is perpendicular to two given lines we can find out the parallel vector by cross product of the given two vectors.
So the direction cosines are
Direction cosine