Complex sentence: As he turns to leave, he finds himself staring at the girl through the window, his despair turns to elation and he forgets about the flower.
Split into simpler sentences: As he turns to leave, he finds himself staring at the girl through the window. His despair turns to elation and he forgets about the flower.