The two given points are P(5,1,a) and Q(3,b,1). A line through them can be written in parametric form.
Direction ratios of PQ:
(3−5,b−1,1−a)=(−2,b−1,1−a).
Taking t as parameter with t=0 at P, any point R(x,y,z) on the line is
x=5−2t,y=1+(b−1)t,z=a+(1−a)t.
The line meets the yz-plane when x=0.
Setting x=0 gives 5−2t=0⇒t=25.
Substitute t=25 to get the coordinates of the intersection point:
y=1+(b−1)25,z=a+(1−a)25.
This point is given as (0,217,−213), so we equate coordinates.
For the y-coordinate
1+(b−1)25=217
⇒(b−1)25=217−1=215
⇒5(b−1)=15⇒b−1=3⇒b=4.
For the z-coordinate
a+(1−a)25=−213
⇒a+25−25a=−213
⇒22a−25a+25=−213
⇒−23a+25=−213
⇒−3a+5=−13⇒−3a=−18⇒a=6.
Thus a=6 and b=4.
Option C which is: a=6, b=4