Develop melodic works that adhere to the given chord alterations.
'D', 'A', 'D', 'A', 'D', 'D', 'A', 'G', 'A', 'D', 'A', 'D', 'Am', 'D', 'C', 'Bm', 'Am', 'D', 'C', 'D7', 'G', 'C', 'G'  
X:1
L:1/8
M:4/4
K:D
|:"D" d2 fa gfed |"A" cAA/A/A cdec |"D" d2 fa gfed |"A" cABc"D" dAB/B/c |"D" d2 fa gfed | 
"A" cAA/A/A cdec |"G" d2 fa gfed |1"A" cABc"D" dAB/B/c :|2"A" cABc"D" d3 D |:"Am" EGAB cAGE | 
"D" D/D/DFD ADFD | E/F/GAB cAGc |"C" BdcA"Bm" GFDD |"Am" EGAB cAGE |"D" D/D/DFD ADFD | 
 E/F/GAB"C" cAGc |1"D7" BdcA"G" G3 D :|2"C" BdcA"G" G2 A/B/^c |]  