An airplane can fly 280 km in 40 minutes. At the same speed, how many hours will it take the plane to fly 840 km