Develop melodic works that adhere to the given chord alterations.
'D', 'G', 'A7', 'D', 'G', 'A7', 'D', 'G', 'A7', 'D', 'Bm', 'Em', 'A7', 'D', 'G', 'D', 'G', 'A7'  
X:1
L:1/8
M:6/8
K:D
|:"D" D3 FDF | AFA d2 A |"G" BdB BAB |"A7" def edB |"D" ADD FDF | AFA d2 A |"G" BdB BAF | 
"A7" dAF EFE ::"D" D2 a afa |"G" bag"A7" fge |"D" dfa"Bm" afe |"Em" def"A7" edB |"D" dfa afa | 
"G" bag"D" fge |"G" d2 B AFA |"A7" dAF EFE :|  