Direction ratios of the line represented by the equation x = ay + b, z = cy + d are
(a, 1, c)
(a, b - d, c)
(c, 1, a)
(b, ac, d)
x - ay - b = 0 and cy - z + d = 0 ∴ If l, m, n are direction cosines, then la=m1=nc. Hence direction ratios are (a, 1, c).