The equation of the line passing through the point 1,2,6and parallel to y-axis is
x−01=y−12=z−06
x−11=y−20=z−61
x−11=y−21=z−60
x−10=y−21=z−60
The direction cosines of y-axis 0,1,0
Therefore, the equation of the line passing through the point 1,2,6nd parallel to the line whose direction ratio are 0,1,0 is x−10=y−21=z−60