The line passing through the points (5,1,6) and (3,4,1) is given by,
x−53−5=y−14−1=z−61−6
⇒ x−5−2=y−13=z−6−5=k (say)
⇒ x=5−2k,y=3k+1,z=6−5k
Any point on the line is of the form P(5−2k,3k+1,6−5k).
Since the line passes through ZX-plane,
⇒Y−coordinate of point P will be 0 ⇒3k+1=0⇒k=−13
Therefore, the required point is (173,0,233).