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:A
['A2 e2 eAcB', 'f2 ef a2']  
X:1
L:1/8
M:4/4
K:A
|: A2 e2 eAcB | AAea f2 fe | A2 e2 eAcB | AcBc ac e2 :: f2 ef a2 cc | c2 ec ef f2 | f2 ef a2 AA | 
 AcBc ac e2 :|  