Complex sentence: The scherzo is in sonata rondo form, moving to a trio in C-sharp minor that is based on a Polish folk song.
Split into simpler sentences: The scherzo is in sonata rondo form. Then it moves to a trio in C-sharp minor that is based on a Polish folk song.