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
['G2 ge d2 ed', 'e3 g fgaf']  
X:1
L:1/8
M:4/4
K:G
 G2 ge d2 ed | B2 ge dBAB | G2 ge d2 ed | BGAG EGGD | G2 ge d2 ed | DBBG dBAB | G2 ge d2 ed | 
 BGAG EG G2 || Beed e3 g | fgaf gfed | Beed e3 g | fgaf g4 | Beed edgd | fgaf gfed | DBBd e3 g | 
 fgaf g4 ||  