Generate harmonious tunes by incorporating the specified letter-based framework and the presented motif.
X:1
L:1/8
Q:1/8=350
M:12/8
K:D
['def g2 f gab afd', 'a gfe fed', 'gfe dcB A3']  
X:1
L:1/8
Q:1/8=350
M:12/8
K:D
 A3 DFA BAF DFA | d3 ede f3 def | g2 f gab afd B2 c/d/ | e2 f e2 d cBA Bcd | A3 DFA BAF D2 F/A/ | 
 dcd ede fef def | g2 f gab afd B3 |1 ABc dfe d3 d3 :|2 ABc dfe d3 d2 || c/d/ |: 
 e2 A e2 g f2 d f2 a | gfe fed edB ABd | e2 A e2 g f2 d f2 a |1 gfe dcB A3 A2 B/d/ :|2 
 gfe dcB A3 A3 ||  