Write musical works that keep the predetermined structure and weave in the given motif
X:1
L:1/8
M:2/2
K:G
['d2 Bd', 'g2{a} gf gbag'  
X:1
L:1/8
M:2/2
K:G
 (3(gfe) | d2 Bd efge | dBGB AGEG | d2 Bd efgb | afdf g2 (3(gfe) | d2 Bd efge | dBGB AGEG | 
 d2 Bd efgb | afdf g2 || d2 | g2{a} gf gbag | fdad bdad | g2{a} gf gbag | fdef g2 d2 | 
 g2{a} gf gbag | fdad bdad | edeg fdfb | afdf g2 |]  