A hose with a larger diameter working alone can fill a swimming pool in 9 hours.A hose with a smaller diameter working alone can fill a swimming pool in 18 hours.working together,how long would it take the two hoses to fill the swimming pool?