Design compelling melodic lines that align with the provided chord progressions.
'D', 'A7', 'D', 'Em', 'A7', 'D', 'A7', 'D', 'A7', 'D', 'A', 'D', 'A', 'D', 'A', 'D', 'A7', 'D'  
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
 AB |"D" A2"A7" GE"D" FD D2 |"Em" EFGD"A7" EFGE |"D" A2"A7" GE"D" FDDF |"A7" EFGE"D" A2 :: ed | 
"A" cAAB cdeg |"D" fd"A" ec"D" dcAB |"A" cAAB cdeg |"D" fd"A7" ec"D" d2 :|  