The direction ratios of the line x=py+q, z=ry+s are
r,p,1
q,1,r
p,1,r
1,p,r
Given line isx=py+q, z=ry+s
The symmetric form of the line isx−qp=y1=z−sr
Therefore, one set of direction ratios of above line are p,1,r