Write the next sentence.

When it was time to go, we took the train instead of the taxi because the
taxi would take longer to get home.