Pumping alone at their respective constant rates, one inlet pipe fills an empty tank to 12 of capacity in 3 hours and a second inlet pipe fills the same empty tank to 23 of capacity in 6 hours. How many hours will it take both pipes, pumping simultaneously at their respective constant rates, to fill the empty tank to capacity?