Write musical works that keep the predetermined structure and weave in the given motif
X:1
L:1/8
Q:1/2=60
M:2/4
K:G
['B2 GB d2', 'B^c df z A A2 G>G F3'  
X:1
L:1/8
Q:1/2=60
M:2/4
K:G
 G2 G>A | B2 GB | d2 c>c | B2 GB | d2 dd | e2 fg | B2 c>A |1 G2 z D :|2 G2 z || A | A2 B^c | 
 df z A | A2 G>G | F3 A | (B^c)de | f d2 B | (A<d) ^c<e | d3 d | egfe | d2 BG | (eg)fe | d2 GB | 
 d2 dd | e2 fg | g<d c/B/c/A/ | G2 z |]  