An Air Force plane left Singapore and flew toward the maintenance facility at an average speed of 150 mph. A cargo plane left some time later and flew in the same direction but an average speed of 180 mph after flying for 5 hours the cargo plane caught up with the Air Force plane. How long did the Air Force plane fly before the cargo plane caught up?