Create musical pieces that adhere to the given structure and incorporate the supplied motif
X:1
L:1/8
M:4/4
K:G
['d>ec>d B>cA>B G>AB>c d>ef>g', 'a>g f>ge>f d>ec>d B>cd>e d2', 'd2 (3ddd d2'  
X:1
L:1/8
M:4/4
K:G
 (Bc) | d>ba>g f>ge>f | d>ec>d B>cA>B | G>AB>c d>ef>g | a>^ga>b a2 (Bc) | d>ec>d B>cA>B | 
 G>AB>c d>ef>g | G>Bd>g f>ga>f | g2 b2 g2 :: a>g | f>ge>f d>ec>d | B>cd>e d2 a>g | f>ge>f d>ec>d | 
 B>cd>e d2 d>c | B>cd>e f>ga>f | g>fg>a b>ag>f | e>^de>f a>gf>e | d>^cd>e d2 :: (3ddd | 
 d2 (3ddd d2 (3ddd | d2 (d'd) c'dbd | adbd c'dbd |1 a2 (3d'd'd' d'2 :|2 a6 ||  