Develop a melody while staying within the specified chord structure.
'D', 'G', 'D', 'G', 'D', 'A', 'D', 'G', 'D', 'G', 'A', 'D', 'A', 'D', 'A', 'Em', 'A', 'Em', 'A', 'G', 'D', 'G', 'D', 'G', 'D', 'G', 'A', 'D'  
X:1
L:1/8
M:6/8
K:D
|:"D" d2 A AGF |"G" GAB"D" A2 A |"G" Bcd efg |"D" fed"A" cBA |"D" d2 A A2 F |"G" GAB"D" A2 A | 
"G" Bcd efg |1"A" Adc"D" d2 A :|2"A" Adc"D" d3 |:"A" e2 A A2 f |"Em" efg"A" f2 z |"Em" efg"A" fed | 
"G" cde"D" A2 A |"G" BGB"D" A2 A |"G" BGB"D" A2 A |"G" Bcd efg |1"A" Adc"D" dcd :|  