john can usually wash a car in 45 mins. where as jim took 30 mins. for the job. one weekend they were in a hurry, so they worked together. How long did it take them?

1/30 + 1/45 = 1/x

x = 18 minutes