Suppose that it takes John 9 hours to paint a barn if he works alone and it takes Carl 6 hours to paint the same barn if he works alone. How long will it take them to paint the barn, in hours, if they work together?