If a runner travels at a speed of 10 m/s for 5 seconds, stops for a short time then continues on at a speed of 8 m/s for 4 seconds. How long was the runner stopped for if his average speed at the end of the trip is 4 m/s.