Construct a harmonic melody using the outlined chord structure.
'D', 'D7', 'G', 'D', 'A7', 'D', 'D7', 'G', 'D', 'A7', 'D', 'D', 'A7', 'D', 'D7', 'G', 'D', 'A7', 'D'  
X:1
L:1/8
M:2/4
K:D
 A, DF |"D" A2 A>B |"D7" AF ED |"G" G>A Bc | d2 cB |"D" A2 A>A | BA FD |"A7" E2 E>F | EA, DF | 
"D" A2 A>B |"D7" AF ED |"G" G>A Bc | d2 cB |"D" .A2 F>G |"A7" AG EC |"D" D2 D>E | D |]: D EF | 
"^A7 or G" G2 G>G | G2 A>G |"D" GF FE | F2 DF | A2 A>A | BA FD |"A7" E2 E>F | EA, DF |"D" A2 A>B | 
"D7" AF ED |"G" G>A Bc | d2 cB |"D" .A2 F>G |"A7" AG EC |"D" D2 D>E | D |]  