Write musical works that keep the predetermined structure and weave in the given motif
X:1
L:1/8
M:4/4
K:D
['d2 dd', 'a2 (af)'  
X:1
L:1/8
M:4/4
K:D
 (fg) a2 (af) gbag | fefa gfef | dcde fdec | dedc AGFG | ABcA dcAG | FEFG ABcA | dcdf edce |1 
 d2 dd defg :|2 d2 dd d2 |: A2 | dcde fefg | a2 (af) defg | a2 (af) ggag | f2 (fe) defg | 
 a2 (af) gbag | fefa gfef | dcde fdec | dedc A2 (fg) | a2 (af) gbag | fefa gfef | dcde fdec | 
 dedc AGFG | ABcA dcAG | FEFG ABcA | dcdf edce |1 d2 dd d2 :|2 d2 dd defg ||  