Develop melodic works that adhere to the given chord alterations.
'D', 'A7', 'D', 'D', 'A7', 'D', 'A7', 'D', 'A7', 'D', 'G', 'D7', 'G', 'G', 'D7', 'G'  
X:1
L:1/8
M:4/4
K:D
 ABd |"D" d>A A>F A>d (3fed |"A7" c>G G>E G2 A>B | c>G G>E G>B (3cBA |"D" B>F F>D F>A (3ABc | 
"D" d>A A>F A>d (3fcd |"A7" c>G G>E G4 |"D" f>f (3fed"A7" e>e (3edc |"D" d>A"A7" (3ABc"D" d2 d>B || 
[K:G]"G" (3GBd d>B d2 d>B | e>B (3dcB"D7" A2 A>F | D>F A>d f>f f>e | d>c (3edc"G" B2 B>A | 
"G" (3GBd d>B d2 d>B | e>B (3dcB"D7" A2 A>F | D>F A>d f>f f>e | (3ded (3cBA"G" G2- G2 ||  