Create musical pieces by following the given structure and incorporating the supplied motif.
X:1
L:1/8
M:4/4
K:G
['(3ABc d2 g>g B2 d>B G2 B>G', 'G2 G>F E2 E>^D E2 G>A B>dA>d'  
X:1
L:1/8
M:4/4
K:G
|: (3ABc | d2 g>g B2 d>B | G2 B>G D2 D>E | D>EF>G A>Bc>d | e2 d2 B>^AB>c | d2 g2 B>Bd>B | 
 G>GB>G D2- D>E | D2 (3EFG A2 (3Bcd | B2 G2 G2 :: G>F | E2 E>^D E2 G>A | B>dA>d (3BdB E2 | 
 B2 (3ABA G2 (3FGF | E>GF>D E<D[B,B]>D | E>FE<D E2 (3FGA | (3Bdd A>F (3BdB E>A | 
 (3BdB (3ABA (3GAG F>G | E>GF>D E2 :|  