Develop a melody based on the provided set of chords.
'Em', 'D', 'Em', 'Em', 'D', 'Em', 'D', 'Em', 'D', 'G', 'D', 'G', 'G', 'D', 'G', 'D', 'G', 'D', 'Em', 'Em', 'D', 'Em', 'D', 'Em', 'Em', 'D', 'Em', 'D', 'G', 'D', 'G', 'G', 'D', 'G', 'D', 'G', 'D'  
X:1
L:1/8
M:9/8
K:Emin
|:"Em" EDE"D" FEF"Em" G2 F |"Em" EDE"D" BcA BGD |"Em" EDE"D" FEF"Em" G2 A |"D" BAG FAG FED :: 
"G" BGB"D" AGF"G" G2 D |"G" GAB"D" dgf dBG |"G" BAB"D" AGF"G" G2 A |"D" BAG FAG FED :: 
"Em" gfg eBe e2 f |"Em" gfg"D" efg afd |"Em" gfg efe e2 a |"D" bag fag fed ::"Em" eBe e2 f gfg | 
"Em" eBe"D" efg afd |"Em" eBe e2 f g2 a |"D" bag fa g fed ::"G" edB"D" dBA"G" G2 D | 
"G" GAB"D" dge dcA |"G" edB"D" dBA"G" G2 A |"D" BAG FAG FED :|  