Complex sentence: One afternoon when Takao is at school, he is walking with two of his friends and Takao realizes that Yukino is actually a teacher at his high-school as she walks by.
Split into simpler sentences: One afternoon when Takao is at school, he is walking with two of his friends. This is when Takao realizes that Yukino is actually a teacher at his high-school as she walks by.