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:G
['GE E2 cABG', 'AG (3EFG', 'G2 BG']  
X:1
L:1/8
M:4/4
K:G
 GE E2 cABG | AG (3EFG AcBA | GE E2 cABG | ABGE D2 DE | GE E2 cABG | AG (3EFG AcBA | d2 cA BGAF |1 
 GEDE G3 A :|2 GEDE G || GA | Bd d2 cBAG | AG (3EFG AGAc | Bd d2 cBAG | ABGE D2 Dd | Bd d2 cBAG | 
 AG (3EFG AGAc | Bd d2 eBdB | AG (3EFG cA{d}BA || G2 BG G2 BG | AG (3EFG AcBA | G2 BG G2 BG | 
 ABGE D2 DE | G2 BG G2 BG | AG (3EFG AcBA | G2 BG G2 BG | ABGE D2 D2 ||  