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