Write musical works that keep the predetermined structure and weave in the given motif
X:1
L:1/8
M:6/8
K:G
['g>fg e2 d', 'G>AB B<dd B<AA'  
X:1
L:1/8
M:6/8
K:G
 d | g>fg e2 d | B<dd B<dd | g>fg e2 d | B<AA A2 d | g>fg e2 d | B<dd B<dd | gfg Te2 d | B<AA A2 || 
 B | G>AB B<dd | B<AA B<dd | G>AB B<dd | B<AA A2 B | G>AB B<dd | B<AA B<dd | gfg Te2 d | B<AA A2 ||  