It can take 12 hours to fill a swimming pool using two pipes. If the pipe of larger diameter is used for 4 hours and the pipe of smaller diameter for 9 hours, only half the pool can be filled.How long would it take for each pipe to fill the pool separately?