Had I ( ) about the delay, I would have taken a different train.
By the time you get back, I ( ) my homework.