Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:6/8
K:D
['FAd f2 f afe dBA', 'fdA AFA DFA def g2 g', 'd2 d FAd fef agf agf Ace'  
X:1
L:1/8
M:6/8
K:D
|: D | FAd f2 f | afe dBA | B3 BAB | dAF E2 E | FAd f2 f | afe dBA | B/c/de fdB | AFE D2 :: e | 
 fdA AFA | DFA def | g2 g ege | ced cBA | fdA AFA | DFA def | g2 g age | edc d2 :: d | FAd fef | 
 agf agf | Ace g2 g | gfe gfe | f2 f gfg | aga bag |1 faf gec | edc d2 :|2 fdB gec | dAF D2 ||  