Compose a musical piece based on the provided chord pattern.
'D', 'A', 'D', 'Em', 'D', 'Bm', 'D', 'D', 'Em', 'A', 'D', 'Em', 'D', 'D', 'A', 'D', 'Em', 'D', 'Em', 'D', 'D', 'Em', 'D', 'Em', 'D'  
X:1
L:1/8
M:6/8
K:D
 A |"D" dAA fAA |"A" eAA"D" fAA |"Em" Bee e2 d |"D" efd"Bm" BdB |"D" ABA A2 F | A2 B d2 e |1 
"D" f2 a fed |"Em" e3"A" e2 :|2"D" faf"Em" edB |"D" d3 d2 f |:"D" a2 faa |"A" eaa"D" faa | 
"Em" g3"D" fgf |"Em" efe edB |"D" ABA A2 F | A2 B d2 e |1"D" f2 a fed |"Em" e3 efg :|2 
"D" faf"Em" edB |"D" d3 d2 ||  