It takes painter A 3 hours to paint a certain area of a house. It takes painter B 5 hours to do the same job. How long would it take them, working together, to do the painting job?