Let after the time (t) the position of A is (0,vA​t) and position of B=(vB​t,10) Distance between them y=(0−vB​t)2+(vA​t−10)2​ or y2=(2t)2+(2t−10)2 or y2=l=4t2+4t2+100−40t⇒l=8t2+100−40t Now, dtdl​=(16t−40)=0 or t=1640​=2.5s∵dt2d2l​=16=(+ve) So, l will be minimum.