The lines need to be rewritten in standard form ax−x0=by−y0=cz−z0, where (a,b,c) are the direction ratios.
For Line 1: 42x−3=k3−y=−2z−2
42(x−23)=k−(y−3)=−2z−2
2x−23=−ky−3=−2z−2
Direction ratios of Line 1: (a1,b1,c1)=(2, −k, −2)
For Line 2: 1x−2=4y=35−z
1x−2=4y−0=3−(z−5)=−3z−5
Direction ratios of Line 2: (a2,b2,c2)=(1, 4, −3)
For two lines to be perpendicular, the dot product of their direction ratios must equal zero:
a1a2+b1b2+c1c2=0
(2)(1)+(−k)(4)+(−2)(−3)=0
2−4k+6=0
8−4k=0
4k=8
k=2