The given lines are 3(x−1)=6(y−2)=2(z−1) and 4(x−2)=2(y−λ)=(z−3)
And, they can be written as L1:2(x−1)=1(y−2)=3(z−1) and
L2:1(x−2)=2y−λ=4z−3.
The lines are in the form lx−x1=my−y1=nz−z1, where (x1,y1,z1) is a point on the line and l,m,n are the direction ratios of the vector parallel to the line.
Thus, the position vectors of the points on the line are respectively \vec{{a}_{1}}=\hat{i}+2\hat{j}+\hat{k}&\vec{{a}_{2}}=2\hat{i}+\lambda \hat{j}+3\hat{k} and direction of the lines are along the vectors r1=2i^+j^+3k^ and r2=i^+2j^+4k^.
Thus, we have a=a2−a1=i^+(λ−2)j^+2k^.

Shortest distance = Projection of a on r1×r2
=∣r1×r2∣∣a⋅(r1×r2)∣
Now r1×r2=∣i^21j^12k^34∣
⇒r1×r2=i^(4−6)−j^(8−3)+k^(4−1)
⇒r1×r2=−2i^−5j^+3k^
⇒∣r1×r2∣=(−2)2+(−5)2+32=4+25+9=38
And, ∣a⋅(r1×r2)∣=∣121λ−212234∣
⇒∣a⋅(r1×r2)∣=∣1(4−6)−(λ−2)(8−3)+2(4−1)∣
⇒∣a⋅(r1×r2)∣=∣−2−5λ+10+6∣
⇒∣a⋅(r1×r2)∣=∣14−5λ∣
Given, the shortest distance is 381, hence, we have
381=38∣14−5λ∣
⇒∣14−5λ∣=1
⇒14−5λ=1 or 14−5λ=−1
⇒λ=513 or 3
∴ Integral value is λ=3.