Develop melodic works that adhere to the given chord alterations.
'G', 'D', 'G', 'G', 'D', 'G', 'D', 'D', 'D', 'G', 'G', 'C', 'D', 'G', 'D', 'D', 'G', 'G', 'D', 'G', 'G', 'D', 'G', 'D', 'D', 'D', 'G'  
X:1
L:1/8
M:6/8
K:G
 D |"G" GFG BAG |"D" FEF AFD |"G" GFG BAG |"G" (B/c/)dB"D" cAF |"G" GFG BAG |"D" FEF AFD | 
"D" d^cd fed |"D" cAF"G" G2 :: A |"G" B2 d gdB | dgB dgB |"C" c2 e gec | egc egc |"D" d2 f afd | 
 fad fad |1"G" gfg efg |"D" afd cBA :|2 d^cd fed |"D" cAF"G" G2 |: A |"G" B3 BAG |"D" FEF AFD | 
"G" B3 BAG |"G" (B/c/)dB"D" cAF |"G" B3 BAG |"D" FEF AFD |"D" d^cd fed |"D" cAF"G" G2 :|  