Create engaging melodies that harmonize with the provided chord progressions.
'D', 'D', 'A', 'A', 'D', 'D', 'A', 'A', 'D', 'D', 'D', 'G', 'D', 'D', 'D', 'G', 'D'  
X:1
L:1/16
Q:1/4=100
M:2/4
K:D
"D" ag |"D" f2ef A2gf |"A" e2ec A2gf |"A" e2ed cABc |"D" dAdf a2ag |"D" f2ef A2gf |"A" e2ec A2gf | 
"A" e2ed cABc |"D" .d2.d2 d2 :: a2 |"D" d2(3efe d2(3BcB |"D" AFDF A2BA |"G" GFEF G2(3BcB | 
"D" AFDF A2A2 |"D" d2(3efe d2(3BcB |"D" AFDF A2BA |"G" GFEF GABc |"D" .d2.d2 d2 :|  