Given,
The line 1x=26−y=5z+8 intersect the lines 4x−5=3y−7=1z+2 and 6x+3=33−y=1z−6 at the points A and B respectively,
Now plotting the diagram, we get,

Now solving, 1x=−2y−6=5z+8=λ and 4x−5=3y−7=1z+2=t we get,
A≡(λ,−2λ+6,5λ−8)≡(4t+5,3t+7,t−2)
Now comparing both side and solving we get, t=−1,λ=1
Hence, pointA(1,4,–3)
Now solving, 1x=−2y−6=5z+8=μ and 6x+3=−3y−3=1z−6=k we get,
For point B≡(μ,−2μ+6,5μ−8) ≡(6k−3,−3k+3,k+6)
Now comparing both side and solving we get, k=1,μ=3
Hence, point B(3,0,7)
So, mid-point of AB=M(2,2,2)
Now finding, distance of M from the plane 2x–2y+z–14=0 we get,
∣22+22+124−4+2−14∣=∣3−12∣=4