Considering the sentence, "By the time Jessica arrived at the station, the train had already left, and the passengers were waiting for the next one," which option correctly identifies the structure of the verb phrases used?