Hose A can fill a bucket in 2 minutes and hose B can fill the same bucket in 3 minutes. How long would it take to fill the bucket if both hoses were used at the same time?