Create musical pieces that adhere to the given structure and incorporate the supplied motif
X:1
L:1/8
M:4/4
K:D
['d>AF>A D2 F>A d>fe>c', 'd>g (3(gfg) b>g (3(gfg) d>gb>g'  
X:1
L:1/8
M:4/4
K:D
 f>e | d>AF>A D2 F>A | d>fe>c d>cB>c | A2 c>e A2 c>e | (3(fga) e>f d>cB>A | d>AF>A D2 F>A | 
 d>fe>c d>cB>A | g>fg>b a>fd>f | e>AB>c d2 :| d>g (3(gfg) b>g (3(gfg) | d>gb>g a>gf>g | 
 A2 c>e A2 c>e | (3(fga) e>f d>cB>A | d>g (3(gfg) b>g (3(gfg) | d>gb>g a>gf>a | g>fg>b a>fd>f | 
 e>AB>c d2 :|  