Complex sentence: While taking a test, Alice accidentally pulls Sheila into a dream where Freddy is waiting; the same thing happens to Rick later.
Split into simpler sentences: While taking a test, Alice accidentally pulls Sheila into a dream where Freddy is waiting. The same thing happens to Rick later.