Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
['A DFA d2 f edc B2 d', 'f e^de'  
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
|: A | DFA d2 f | edc B2 d | A2 d F2 B | AGF E2 A | DFA d2 f | edc B2 d | A2 d F2 B | ABc d2 :| f | 
 e^de A2 f | e^de a2 f | efe dcB | A2 B c2 f | e^de A2 f | e^de a2 f | efe dcB | ABA GFE | 
 D2 f fef | d2 A A^GA | D2 f fef | gfe ecA | D2 f fef | d2 A A^GA | Bed cBc | d3- d2 |]  