Complex sentence: The gods pulled the serpent from one side which had coiled itself around the mountain and the demons pulled it from the other side.
Split into simpler sentences: The gods pulled the serpent from one side which had coiled itself around the mountain. The demons pulled it from the other side.