Generate harmonious tunes by incorporating the specified letter-based framework and the presented motif.
X:1
L:1/8
M:4/4
K:D
['fg (af)(ge) dfed (ed)(cB) A>GF>E FAd(c Bg)(ed)', 'z (cd) (eA) A2 eAgA (fA) A2']  
X:1
L:1/8
M:4/4
K:D
 fg | (af)(ge) dfed | (ed)(cB) A>GF>E | FAd(c Bg)(ed) | c2 A A2 (fg | a)fge (df).e.d | edcB AGFE | 
 FAd(A Bg)ec | d2 d2 d2 z :| (cd) | (eA) A2 eAgA | (fA) A2 fAaf | egfe dcBA | A2 B2 B2 (AG) | 
 (FAdc) BG(ed) | (cA)fe (dB)gf | ec(ag) fedc | d2 d3 d2 :|  