two goods trains each 500 m long are running in opposite directions on parallel tracks . their speeds are 50 km / hr and 30 km / hr respectively . find the time taken by the slower train to pass the driver of the faster one ?