Create a melodic piece that follows the given chord progression.
'D', 'G', 'D', 'G', 'D', 'G', 'D', 'G', 'D', 'G', 'D', 'G', 'D', 'G', 'Em', 'A', 'D', 'G', 'D', 'G', 'D', 'G', 'Em', 'A'  
X:1
L:1/8
M:2/2
K:D
 B |"D" A2 AB AFED |"G" B2 BA BcdB |"D" A2 AB AFED |"G" gfed BcdB |"D" A2 AB AFED |"G" B2 BA BcdB | 
"D" A2 AB AFED |"G" gfed B2 d || e |"D" f2 fd"G" g2 ge |"D" f2 fd"G" Bcde |"D" f2 fd"G" g2 fg | 
"Em" afed"A" Bcde |"D" f2 fd"G" g2 ge |"D" f2 fd"G" Bcde |"D" fafd"G" gbge |"Em" afed"A" Bcd || 
"^Fin" B A4 |]  