Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
['FED A2 d c3', 'A3 cBA cBA d3 z3 BAG BAG'  
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
 FED A2 d | c3 B3 | ABA GAG | F3 E2 E | FED A2 d | c3 d3 | ecf B2 A | A3- A3 :: cBA cBA | d3 z3 | 
 BAG BAG | g3 z3 | cde ABc | def efg | fed eAc | d3- d3 :|  