Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:4/4
K:D
['d2 c2 B2 E2 B>AB>c d2', 'E/E/E B>A', 'e>BB>e B2 e>d B>AB>c d2'  
X:1
L:1/8
M:4/4
K:D
 z2 | d2 c2 B2 E2 | B>AB>c d2 B2 | A2 A>B A2 D2 | A>FA>B d2 e2 | d2 c2 B2 E2 | B>AB>c d2 ed | 
 B>AB>d B2 A>F | E4 E2 :| B2 | E/E/E B>A B>AB>e | E/E/E B>A B2 c>d | D/D/D A>F A>FA>B | 
 D/D/D A>F A2 B2 | E/E/E B>A B>AB>e | E/E/E B>c d2 e2 | B>AB>d B2 A>F | E4 E2 :| B>d | 
 e>BB>e B2 e>d | B>AB>c d2 e2 | d>BB>d A/A/A d>A | B>dB>A F>BA>F | e>BB>e B2 e>d | B>AB>c d2 ed | 
 B>AB>d B2 A>F | E4 E2 :|  