Compose a tune that integrates the letter-based representation of the determined musical pattern and the given melodic idea.
X:1
L:1/8
M:2/2
K:D
['abaf defa baba fefg', 'dBAF EDFA (Bd)ef', 'BAFE ([FA-][AA])[AA][AB] AFDE']  
X:1
L:1/8
M:2/2
K:D
 f g^g | abaf defa | baba fefg | abaf dded | fded !slide!fefa | abaf defa | baba fefg | abaf dded | 
 de d2 ddfa | abaf defd | faba fefg | abaf dfed | fded fefa | abaf defa | baba fefg | abae fded | 
 ed-de d2 || (ef) | dBAF EDFA | (Bd)ef e2 d2 | (Bd)AF (ED) F2 | (AB)de fd-de | dBAF EDFA | 
 (Bd)ef edBc | dBAF (ED) D2 | (AB)de fd d2 |: B2{c} B2{c} BAFE | ([FA-][AA])[AA][AB] AFDE | 
 ([FA-][AA])[AA][AB] AFAB | defd eddA | !slide!B2 Bd BAFE | ([FA-][AA])[AA][AB] AFDE | FGAc defd |1 
 ed-de d2 d2 :|2 e [dd]2 e [df] ||  