Given equations are
3x−λ=4y−26=5z+26 is passing through a point (λ,26,36) and it's direction ratios are 3,4,5.
So,
a1=λi^+26j^−26k^
b1=3i^+4j^+5k^
And,
2x+6=3y−6=4z−6 is passing through a point (−6,6,6) and it's direction ratios are 1,2,3.
a2=−6i^+6j^+6k^
b2=2i^+3j^+4k^
Now,
a2−a1=(−6i^+6j^+6k^)−(λi^+26j^−26k^)=−(6+λ)i^−6j^+36k^
b1×b2=∣i^32j^43k^54∣
⇒b1×b2=(i^−2j^+k^)
So,
⇒∣b1×b2∣=6
We know that the shortest distance between two skew lines is ∣b1×b2∣∣(a2−a1)⋅(b1×b2)∣=6
⇒∣6((−6−λ)i^−6j^+36k^)⋅(i^−2j^+k^)∣=6
⇒∣646−λ∣=6
⇒λ=106,−26
So, required sum is
=(106−26)2=384