Develop a melody based on the provided set of chords.
'G', 'D', 'Em', 'G', 'Em', 'D', 'G', 'D', 'Em', 'G', 'D', 'G', 'Em', 'G', 'C', 'D', 'Em', 'G', 'D', 'Em', 'G', 'C', 'G', 'Em', 'D', 'G'  
X:1
L:1/8
Q:3/8=127
M:6/8
K:G
|: D |"G" G3 GAB |"D" A3 ABd |"Em" edd"G" gdd |"Em" edB"D" dBA |"G" G3 GAB |"D" ABA ABd | 
"Em" edd"G" gdB |"D" AGF"G" G2 :: A |"Em" BAB"G" d2 d |"C" ege"D" dBA |"Em" BAB"G" dBG | 
"D" ABA AGA |"Em" BGB"G" dBd |"C" ege"G" dBd |"Em" gfg"D" aga |"G" bgg g2 :|  