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:9/8
K:G
['ded BGB', 'GBd gdB']  
X:1
L:1/8
M:9/8
K:G
|: ded BGB BGB | ded BGB cBA | ded BGB BGB | cBc AFA cBA :| GBd gdB gdB | GBd gdB cBA | 
 GBd gdB gdB | cBc AFA cBA | GBd gdB gdB | GBd gdB cBA | GBd gba gdB | cBc AFA cBA |]  