Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:6/8
K:D
['FED FG^G Acd B2 d AFD', 'EDE f3 fed fg^g a2 =g f3'  
X:1
L:1/8
M:6/8
K:D
 F3 FED | FG^G Acd | B2 d AFD | FGF EDE | FEG FED | FG^G Acd | B2 d AFD | FGF EDE :: f3 fed | 
 fg^g a2 =g | f3 fe | d gbb bag | fga efg | def fed | B/c/dB AFD | FGF EFE :|  