Generate harmonious tunes by incorporating the specified letter-based framework and the presented motif.
X:1
L:1/8
M:4/4
K:D
['D2 FD A,DFE DFEG FAGF', 'd2 fd Adfe dfeg fagf', 'd2 (3ABc dafd Agec Afdc dcBA BAcA', 'd2 AG FADA FADA', 'd2 Ac defg afdf gfed ceAc defg']  
X:1
L:1/8
M:4/4
K:D
 (3A,B,C | D2 FD A,DFE | DFEG FAGF | E2 GE B,EGF | EDCB, A,B,CA, | D2 FD A,DFE | DFEG FAGF | 
 E^DEF GA,B,C | DA,FE D2 :| (3ABc | d2 fd Adfe | dfeg fagf | e2 ge Begf | edcB ABcA | d2 fd Adfe | 
 dfeg fagf | e^def gABc | dAfe d2 |: (3ABc | dafd Agec | Afdc dcBA | BAcA dAeA | fagf e2 ef | 
 gafg efde | cdBc ABGA | (3Bcd ef gece | dAfe d2 :: (3ABc | d2 AG FADA | FADA FADB, | A,3 B, DEFD | 
 CDEF GABc | d2 AG FADA | FADA F2 DA | (3Bcd ge f2 ec | dfec d2 :: Ac | defg afdf | gfed ceAc | 
 defg afgf | edcB A3 A | BABd AF F2 | GE E2 =CE E2 | DFAd faec | dfec d2 :|  