Required time $=\dfrac{0.3}{80+62}\text{ hr}=\dfrac{0.3×3600}{80+62}\text{ seconds}$

Relative speed $=80-62=18\text{ km/hr}=5\text{m/s}$

Required time $=\dfrac{300}{5}=60\text{ seconds}$