Complex sentence: The Samaveda was derived from the Rigveda so that its hymns could be sung as Samagana; this style evolved into jatis and eventually into ragas.
Split into simpler sentences: The Samaveda was derived from the Rigveda so that its hymns could be sung as Samagana. This style evolved into jatis and eventually into ragas.