The line l1 passes through the point (2,6,2) and is perpendicular to the line 2x+y−2z=10 then,
l1:2x−2=1y−6=−2z−2
Let the shortest distance between l1 and the line 2x+1=−3y+4=2z is S.D.

S.D. =∣∣MN∣AB⋅MN∣
Here, AB=3i^+10j^+2k^
MN=∣i^22j^1−3k^−22∣=−4i^−8j^−8k^
⇒∣MN∣=16+64+64=12
AB⋅MN=−12−80−16=−108
So, shortest distance (S.D.)
=∣12−108∣=∣−9∣=9 units