Complex sentence: Just before the train leaves, Gander realises he has forgotten about the basket containing his props and costumes, but is annoyed when the guard tells him he had thrown it out of the van.
Split into simpler sentences: Just before the train leaves, Gander realises he has forgotten about his basket containing props and costumes. He is annoyed when the guard tells him he had thrown it out of the van.