Write musical works that keep the predetermined structure and weave in the given motif
X:1
L:1/8
M:9/8
K:G
['gdc BAG', 'gfg efg'  
X:1
L:1/8
M:9/8
K:G
 D | GBd gdc BAG | (B<d)B cAA A2 (A | G)Bd gdc BAG | (B<c)A BGG G2 :| d | gfg efg fed | 
 gfg efg a2 d | gfg bag fed | efg afd g2 d | gfg efg fed | gfg efg a2 a | bag agf fed | 
 efg afd g2 |]  