A person can paint a room in 6 hours. If two people work together, how long will it take them to paint the room?