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:4/4
K:D
['AF DAFA BGBd gega bgec AcBc', 'Ac dedc BGBd ecAF EGBd']  
X:1
L:1/8
M:4/4
K:D
|: AF | DAFA BGBd | gega bgec | AcBc dBef | edcB A2 AF | DAFA BGBd | gega bgec | AcBc BAGF | 
 E2 D2 D2 :: Ac | dedc BGBd | ecAF EGBd | Bdfa gagf | edcB A2 Ac | dedc BGBd | ecAF EGBd | 
 AcBc BAGF | E2 D2 D2 :|  