If sam can paint a house in 3 hours and joe can paint it in 5 hours, how long does it take for them to paint a house together