Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:4/4
K:D
['f2- f>d e2 B>c d2 B>A B>AF>A', '(3EFG (3ded d>c d>A (3FGA B2 B>d'  
X:1
L:1/8
M:4/4
K:D
 f2- f>d e2 B>c | d2 B>A B>AF>A | B2 (3Bcd A>FD>F | G2 F>D (3EFG :| (3ded d>c d>A (3FGA | 
 B2 B>d c>AF>A |1 (3BcB A>F G2 F>D | E2 E>G F>D :|2 (3Bcd A>d G>dF>d | E2- E>G (3FED ||  