Develop melodic works that adhere to the given chord alterations.
'G', 'G', 'D7', 'D7', 'G', 'G', 'C', 'D7', 'G', 'D', 'D', 'G', 'G', 'A7', 'A7', 'D', 'A7', 'D'  
X:1
L:1/8
M:4/4
K:G
"^A" BA |"G" GBDG B,DGB |"G" dgBd GBAG |"D7" AcFA DFAc |"D7" ed^cd ed=cA |"G" GBDG B,DGB | 
"G" dgBd GBAG |"C" EFGA Bc^cd |"D7" edcA"G" G2 :|[K:D]"^B" AG |"D" FdAd FdAd |"D" FDFA dAFA | 
"G" BdGd BdGd |"G" BGBd gdBd |"A7" ceAe ceAe |"A7" cAce gece |"D" dcdf"A7" egce |"D" dcde d2 :|  