An auto assembly plant has two machines that paint new cars. One machine takes 2 hours to paint one car, and the other machine takes 3 hours to paint a new car. If the two machines work together to paint one car, how long will it take them?