ans) here uA=30m/s ,uB=20m/s
in a time tsec the body a retards with a acceleration =2m/s2 n the final velocity b'coms zero
so applyin V =U +at for body A
v get 0=30+(-2).t
then v get t=15sec
so in t= 15 sec body A travels a distance
d=Ut+1/2.at2= 30x15+1/2(-2)x(15)2 =450- 225= 225 m
whereas body B travels a distance S =UBxt = 20 x 15 =300 m
so the minimum distance 'd' required is 225m
i think this might help u ........