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:Ador
['A,2 EA, A,2', 'G,A,A,G, (3A,DA BA eABA A,E E2 D2']  
X:1
L:1/8
M:4/4
K:Ador
 A,2 EA, A,2 EA, | A,2 GE DB,A,B, | G,2 (3B,A,G, DG,B,A, | G,B, B,2 G,B,DB, | A,2 EA, A,2 AB | 
 B/B/A BG AGAB | B/B/A BG AGEA | GEDB, G,A,A,G, :: (3A,DA BA eABA | A,E E2 D2 B,G, | 
{B,} A,G,DG, EG, D2 | (3ded (3BdB (3GAG DA, | A,EAA AB(3cde | AG ED E2 AB | B/B/A BG AGEA | 
 GEDB, G,A,{B,}A,G, :|  