Complex sentence: Demi Lovato has said that when she writes music, she writes very dark music for example Shadow, Open, Trash, and Stronger.
Split into simpler sentences: Demi Lovato has said that when she writes music, she writes very dark music. For example, Shadow, Open, Trash, and Stronger.