Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:6/8
K:D
['AFF dFF AFD', 'd2 e'  
X:1
L:1/8
M:6/8
K:D
 E | F3 AFF | dFF AFD | G3 ABc | ded cAG | FEF AFF | dFF AFD | GFG BGB | AFD D2 :| A | d2 e fdf | 
 ecA AFA | d2 e fed | faf gfe | dcd fdf | ecA AGF | G3 BGB | AFD D2 :|  