Create musical pieces by following the given structure and incorporating the supplied motif.
X:1
L:1/8
M:4/4
K:D
['D2 D2 D>EF>A d>ef>e', 'A>d (3dcd F>dE>d'  
X:1
L:1/8
M:4/4
K:D
 D2 D2 D>EF>A | d>ef>e d>BA>G | (3FED A>D B>DA>D | G>FE>D E>GF>E | D2 D2 D>EF>A | d>ef>e d>cB>d | 
 A>BF>B A>GF>E | D2 D2 D2 :| f>d (3dcd A>d (3cde | f>df>f b>fa>f | g>fe>d c>de>f | g2 b>g a>gf>d | 
 A>d (3dcd F>dE>d | A>d (3dcd F>dE>d | A>df>a g>eA>c | (3efe d>c d2- :|  