Compose a musical work that adheres to the outlined chord structure.
'D', 'Bm', 'D', 'A7', 'D', 'G', 'D', 'Bm', 'D', 'A7', 'D', 'G', 'D', 'D', 'G', 'D', 'A7', 'A7', 'D', 'G', 'D', 'A7', 'D'  
X:1
L:1/8
M:6/8
K:D
 A |"D" def"Bm" edB |"D" AFD"A7" E2 D |"D" DFA AFA |"G" Bee edB |"D" def"Bm" edB | 
"D" AFD"A7" E2 D |"D" DFA AFA |"G" Bdd"D" d2 :| g |"D" fdf afd |"G" gfg bag |"D" fdf"A7" afd | 
"A7" gfg e2 g |"D" fdf afd |"G" gfg bag |"D" fga"A7" efg |"D" fdd d2 :|  