Develop musical pieces that incorporate the given motif and follow the specified structure.
X:1
L:1/8
M:4/4
K:G
['B,>DG>A B>Ge>d (3cAF (3cAF f3 e d>^c=c>A', 'A>G F>AB>A f>dc>d B>GB>e g>e^d>e'  
X:1
L:1/8
M:4/4
K:G
 D>C | B,>DG>A B>Ge>d | (3cAF (3cAF f3 e | d>^c=c>A F>fe>d | ^c>de>d B>GD>C | B,>DG>A B>Ge>d | 
 (3cAF (3cAF f3 e | d>^c=c>A F>fe>F | G2 B2 G2 ::[K:D] A>G | F>AB>A f>dc>d | B>GB>e g>e^d>e | 
 c>A^GA ^A>Bc>^c | (3edc (3edc A2 A>G | F>AB>A f>dc>d | B>GB>e g>e^d>e | c>A^G>A ^A>Bc>^c | 
 d2 f2 d2 :|  