A certain pipe can be used to fill a pool with water in 2 hours. A second pipe can be used to fill the pool in 4 hours. How long does it take to fill the pool when both pipes are used at the same time?​