Write musical works that keep the predetermined structure and weave in the given motif
X:1
L:1/8
Q:1/8=160
M:9/8
K:G
['BAG GAG GDG', 'd/e/dc BGG'  
X:1
L:1/8
Q:1/8=160
M:9/8
K:G
 c | BAG GAG GDG | BAG GDG ABc | BAG GAG GDG | cAF FAF AB :| c | d/e/dc BGG BGG | d/e/dc BGG ABc | 
 d/e/dc BGG BGG |1 cAF FAF AB :|2 cAF FAF AGF | G6 z3 |]  