Compose tunes based on the given letter-based musical structure and the supplied motif.
X:1
L:1/8
Q:1/8=180
M:6/8
K:D
['A ded fga ABA', 'd cde']  
X:1
L:1/8
Q:1/8=180
M:6/8
K:D
|: A | ded fga | ABA ABc | d2 b afd | e3 e2 A | ded fga | ABA A2 b | agf ede | d3 d2 :| d | 
 cde efe | A3 A2 d | cde efg | a3 a2 g | f2 e d2 c | d2 e f2 f | fbf edc | B3 B2 A | ddd faf | 
 d3 d2 A | d2 b afd | e3 e2 A | ded fga | ABA A2 b | agf edc | d3 d'2 b | agf ede | d3 d2 ||  