Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:4/4
K:D
['', 'D>E F<F', 'D<B, d>c d<f B>c d<e d2 d>A'  
X:1
L:1/8
M:4/4
K:D
 F || D>E F<F D4 | D>F A<F E2 DB, | D>E F<F D>E F<d | A<F F>D E2 D<B, | D>E F<F D3 F | 
 d2 d>A B2 (AB/c/) | d>ef>A Bc/d/ e/d/c/B/ | A<F F>A E2 D<B, :| d>c d<f B>c d<e | 
 d2 d>A B2 (AB/c/) | d>ef>A Bc/d/ e/d/c/B/ | A<F F>D E2 D<B, | d>c d<f B>c d<e | d2 d>A B3 g | 
 f>ed>c Bc/d/ e/d/c/B/ | A<F F>A E2 D<B, :|  