Compose tunes based on the given letter-based musical structure and the supplied motif.
X:1
L:1/8
M:6/8
K:D
['AFD ADF AFD', 'A G2 A BAG FDD D2 A']  
X:1
L:1/8
M:6/8
K:D
|: AFD ADF | AFD DFA | B2 g gfe | fdB BdB | AFD ADF | AFD DCB, | A,CE ABc |1 d2 d dcB :|2 
 d2 D FGA |: Bgd Bgd | f2 e d2 A | G2 A BAG | FDD D2 A | Bgd Bgd | f2 e def | gec Ace |1 
 d2 D FGA :|2 d2 d dcB ||  