In a paint factory, an old conveyer line has filled 40 barrels of paint, and is filling more at a rate of 2 barrels per minute. A worker just switched on a newer line that can fill 10 barrels per minute. In a little while, the two lines will have filled an equal number of barrels. How long will that take?