One pipe can fill a pool in 9 hours. Another pipe can fill the pool in 6 hours. How long would it take them to fill the pool if they were working together?