Complete the following sentence.

Joel asked Robert how long will the flight be before they arrive, because
Joel had forgotten.