Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:6/8
K:D
['FED A2 d'  
X:1
L:1/8
M:6/8
K:D
|:"D" FED A2 d |"A" c3"G" B3 |"D" ABA"A" GAG |"D" F3"A" E2 E |"D" FED A2 d |"A" c3"D" d3 | 
"A" ecf"E" B2 A |"A" A6 ::"A" cBA cBA |"D" d6 |"G" BAG BAG |"Em" g6 |"A" cde ABc |"D" def"G" efg | 
"D" fed"A" eAc |"D" d6 :|  