Complex sentence: They set fire to Eric's car and severely beat him, but Eric is saved by Julie and Miyagi.
Split into simpler sentences: They set fire to Eric's car and severely beat him. Before they can, Eric is saved by Julie and Miyagi.