A man travels from A to B at a speed of x km/hr. He then rests at B for x hours. He then travels from B to C at a speed of 2x km/hr and rests for 2x hours. He moves further to D at a speed twice as that between B and C. He thus reaches D in 16 hours. If the distance A−B,B−C, and C−D are all equal to 12 km, then what could be the time for which he rested at B?