Write musical works that keep the predetermined structure and weave in the given motif
X:1
L:1/8
M:4/4
K:G
['(3efg dB', 'aeab aeab'  
X:1
L:1/8
M:4/4
K:G
 g | (3efg dB GB d2 | GBdB GBdg | (3efg dB GBde | gedB A2 G :| aeab aeab | gega ge g2 | aeab aeab | 
 gede BA A :|  