Complex sentence: The group of girls, who had been beating her, followed and took her backpack away from her, dumping its contents into the water and street.
Split into simpler sentences: The group of girls, who were beating her, took her backpack away from her. They dumped its contents into the water and street.