Two cities are 3000 miles apart. A plane leaves one of them, traveling towards the other at an average speed of 360 miles per hour. At the same time a plane leaves the other, traveling towards the first, at an average speed of 390 miles per hour. How long will it take them to meet?