Write musical works that keep the predetermined structure and weave in the given motif
X:1
L:1/8
M:6/8
K:D
['a2 a a2']  
X:1
L:1/8
M:6/8
K:D
 d/f/ | a2 a a2 a | a2 b afd | Ace gec | d2 f/g/ a2 f/g/ | a2 a a2 a | a2 b afd | Ace gec |1 
 d3 d3 :|2 d3- d2 =c |[K:G] gfg d^cd | B2 A G3 | DFA d^cd | GBc d3 | gfg d^cd | B2 A G3 | DFA cAF | 
 G3 G2 :|  