Write musical works that keep the predetermined structure and weave in the given motif
X:1
L:1/8
Q:3/8=112
M:9/8
K:G
['AFD DED', 'F DED c2 A B2 G AFD'  
X:1
L:1/8
Q:3/8=112
M:9/8
K:G
 AFD DED ABc | BAG GFG ABc | BAG AFD DED | AFD DEF |1 G2 z :|2 GBc || dBG GFG ABc | dBG GFG A2 F | 
 DED c2 A B2 G | AFD DEF |1 GBc :|2 G2 z |]  