Points on the given two lines can be taken as (x1,y1,z1)=(−3,1,k) and (x2,y2,z2)=(−1,2,5)
The corresponding D.R′s are (a1,b1,c1)=(−3,1,5) and (a2,b2,c2)=(−1,2,5)
For the lines to be coplanar, D=∣∣
∣∣x1−x2y1−y2z1−z2a1b1c1a2b2c2∣∣
∣∣=0
⇒∣∣
∣∣−2−1k−5−315−125∣∣
∣∣=0
⇒−2(5−10)+1(−15+5)+(k−5)(−6+1)=0
⇒10−10−5(k−5)=0
⇒k=5