Craft a composition using the given motif while maintaining the musical form outlined by alphabet characters.
X:1
L:1/8
Q:1/8=270
M:6/8
K:D
['d2 d cde fga gfe fed', 'd2 e fad fad fdf agf egc']  
X:1
L:1/8
Q:1/8=270
M:6/8
K:D
 (3(A/B/c/) | d2 d cde | fga gfe | fed cAF | GFG AFD | d2 d cde | fga gfe | fed cAG | ABc d2 :: e | 
 fad fad | fdf agf | egc egc | ece gfe | fga gab | afd cBA | fed cAG | ABc d2 :|  