Construct a harmonic melody using the outlined chord structure.
'D', 'A', 'D', 'A', 'Bm', 'G', 'D', 'A', 'D', 'A', 'D', 'A', 'Bm', 'G', 'D', 'A', 'D', 'Em', 'D', 'Bm', 'D', 'A', 'D', 'A', 'D', 'Em', 'D', 'Bm', 'D', 'A', 'D', 'A'  
X:1
L:1/8
M:2/2
K:D
 g |"D" fAAA"A" ABAg |"D" fAAA"A" f2 ef |"Bm" dBBB"G" BcdB |"D" ABde"A" f2 eg |"D" fAAA"A" ABAg | 
"D" fAAA"A" f2 ef |"Bm" dBBB"G" BcdB |"D" ABde"A" f2 ed |"D" defd"Em" efge |"D" defd"Bm" e2 dB | 
"D" defd"A" efge |"D" faAa"A" f2 ed |"D" defd"Em" efge |"D" defd"Bm" e2 dB |"D" defd"A" efge | 
"D" faAa"A" f2 ed |]  