Complex sentence: In "Trent Gets Schooled" episode, he graduates from Mission Creek High thanks to Leo and Chase, but much to their shock, Principal Perry hires him as the gym teacher.
Split into simpler sentences: In "Trent Gets Schooled" episode, he graduates from Mission Creek High thanks to Leo and Chase. But much to their shock, Principal Perry hires him as the gym teacher.