Develop musical pieces that incorporate the given motif and follow the specified structure.
X:1
L:1/8
Q:1/4=140
M:4/4
K:G
['A>G F>GA>B c2 B>A B>de>f g2', 'g2 d2'  
X:1
L:1/8
Q:1/4=140
M:4/4
K:G
 A>G | F>GA>B c2 B>A | B>de>f g2 fe | d>B G2 e>cA>G | (3FGA (3GFE D2 A>G | F>GA>B c2 B>A | 
 B>de>f g2 f>e | d>ge>c B>GA>F | G2 G2 G2 :: fg | afdc Bdef |{a} gfga g2 d2 | e>fg>f e>dc>B | 
 c>dB>c A2 f>g | a>fd>c B>de>f | g>fg>a g2 d2 | e>ge>c B>GA>F | G2 G2 G2 :|  