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:G
['gedg edBA GABd', 'Bded gedg edBA GABd edge']  
X:1
L:1/8
M:2/2
K:G
 de |"G" gage dega | gedg edBA | GABd efge |"A7" afef"D7" d2 de |"G" gage dega | gedg edBA | 
 GABd edge |"D7" dBAB"G" G2 :: GE |"G" DEGA Bded | gedg edBA | GABd efge |"A7" afef"D7" d2 [df]2 | 
"G" DEGA Bded | gedg edBA | GABd edge |"D7" dBAB"G" G2 :|  