Develop a melody while staying within the specified chord structure.
'A', 'G', 'A', 'Em', 'A', 'Em', 'A', 'G', 'A', 'Em', 'A', 'A', 'D', 'A', 'G', 'A', 'G', 'A', 'G', 'A', 'G', 'A'  
X:1
L:1/8
M:2/2
K:D
|: AG |"A" EAAB cBcd |"G" efed Bcdf |"A" eAAc"Em" BAGB |"A" AGEF"Em" GEDG |"A" EAAB cBcd | 
"G" efed Bcdf |"A" eAAc"Em" BAGB |"A" A2 AG A2 ::"A" eg | a3 g efec |"D" d3 c Bcdf | 
"A" eAAc"G" BAGB |"A" AGEF"G" GEDG |"A" EAAB cBcd |"G" efed Bcdf |"A" eAAc"G" BAGB |"A" A2 AG A2 :|  