Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:6/8
K:D
['AFD DFA', 'd2 uf afd fed ecd ecA ddd'  
X:1
L:1/8
M:6/8
K:D
 ud | AFD DFA | AFA B2 d | AFD DFA | fdB B2 d | AFD DFA | AFA B2 d | def gfe fdd d2 :: uf | 
 afd fed | ecd ecA | ddd fdd | fdB B2 d | ded fdd | edd fdd | cef gfe | fdd d2 :|  