Write musical works that keep the predetermined structure and weave in the given motif
X:1
L:1/8
M:4/4
K:D
['(3ABc d2 cd BdAF DFAd f2 ed', 'A2 AEAc e2 dc BGBd gfed |1'  
X:1
L:1/8
M:4/4
K:D
 (3ABc | d2 cd BdAF | DFAd f2 ed | cdef gecA |1 defd A2 :|2 d2 dc d2 :: (e2 | e)fed c2 A2 | 
 AEAc e2 dc | BGBd gfed |1 cAce a2 :|2 c2 A2 A2 :|  