Create musical pieces that follow the designated structure and incorporate the provided musical motif.
X:1
L:1/8
Q:1/4=90
M:4/4
K:G
['z G2 A>B d>(BB>)g G2 (AB)', 'z G A>B'  
X:1
L:1/8
Q:1/4=90
M:4/4
K:G
 z | G2 A>B d>(BB>)g | G2 (AB) c<A z :| f | g>fed e>dBf | g>agf e<B z f | gfed ef g2{bc'} | 
 z G A>B d<BB>g | z G A>B cB z :|  