Compose a tune that integrates the letter-based representation of the determined musical pattern and the given melodic idea.
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
['F2 F FED', 'AFA B/c/dB AFA dcd efg', 'ecA A/B/cd']  
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
 A/G/ | F2 F FED | DED FED | F2 F FED | E2 F G2 A |"^5" F2 F FED | DED FED | (B/c/d)B cAG | 
 E2 F G2 :| (3A/B/c/ |"^9" dcd AFA | B/c/dB AFA | dcd efg |"^13" fed cBA | dcd AFA | B/c/dB AFA | 
 dcd efg | fdd d2 :| (3A/B/c/ |"^17" d2 e f2 g | afd ecA | Acd ecA | A/B/cd ecA |"^21" d2 e f2 g | 
 afd ecA | A/B/cd eag | fdd d2 :|  