Complex sentence: Dewey succeeds in convincing them that he is a competent teacher, but Ned appears with the police and confronts Dewey under pressure from Patty.
Split into simpler sentences: Dewey succeeds in convincing them that he is a competent teacher. Ned eventually appears with the police and confronts Dewey under pressure from Patty.