Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
Q:3/8=100
M:6/8
K:D
['d3 f2 d gec d2 A (B/c/d)c', 'A3 (c/d/e)d (ec)A (Ac)e (ed)c (d/e/f)e (fd)(B', 'DFAd fgaf', 'afdf edef dBAF'  
X:1
L:1/8
Q:3/8=100
M:6/8
K:D
 d3 f2 d | gec d2 A | (B/c/d)c (dAF) | (BGE) (AFD) | (d/e/f)e (fd)B | (ec)A (^GB)d | f3 (ed)c | 
 (dc)B A3 :: (c/d/e)d (ec)A | (Ac)e (ed)c | (d/e/f)e (fd)(B | B)df- fed | (e/f/g)f gec | 
 (fd)B ^Ace | (gf)e (dc)B | gf^A B2 c | (B/c/d)c dAF | (DA)=c (BA)G | (B/c/d)B (ge)g | (Be)d c3 | 
 (f/g/a)f (ge)c | (dB)^G (AB)c | (dA)F (Bg)f | edc d3 ::[M:2/4][K:D][Q:1/2=80] D | DFAd | fgaf | 
 ecTBA | BGEF | DFAd | fgaf | geaf | d/d/d d :: f/g/ | afdf | edef | dBAF | TEDEF | afdf | edef | 
 dBAF | D/D/D D :|  