Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
M:6/8
K:D
['dAG FAE DFA dcd eAA GAA', 'BAG FGA dAF EBA BAG F2 A'  
X:1
L:1/8
M:6/8
K:D
 dAG FAE | DFA dcd | eAA GAA | EAA edc | dAG FAE | DFA dcd | eAA GAA |1 edc d3 :|2 edc dAG || 
 F2 A FAF | G2 B BAG | FGA dAF | EBA BAG | F2 A FAF | G2 B BAG | AFA dAF | FEc d3 :|  