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:Ador
['e>A (3AAA g2 fg', 'edcd eaag efgb |1 afge d2 ^cd']  
X:1
L:1/8
M:2/2
K:Ador
 e>A (3AAA g2 fg | eAAc BG G2 | e>A (3AAA g2 fg |1 afge dgfg :|2 afge d2 cd |: eaag efgf | 
 eaag edcd | eaag efgb |1 afge d2 ^cd :|2 afge dgfg ||  