Solution:
The direction ratio of any line perpendicular to both lines is along the vector
It implies,
Hence, the direction ratios of the line perpendicular to the lines are
Therefore, the required direction cosines are
If and are direction ratios of and, then the direction cosines of a line perpendicular to both the lines and are
The direction ratio of any line perpendicular to both lines is along the vector
It implies,
Hence, the direction ratios of the line perpendicular to the lines are
Therefore, the required direction cosines are