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:6/8
K:G
['g2 d BdB GDG BAG']  
X:1
L:1/8
M:6/8
K:G
|: d |"G" g2 d BdB | GDG BAG |"Am" AcA FEF |"D" DFA def |"G" g2 d BdB | GDG BAG |"Am" ABc def | 
"G" g3 g2 :: F |"G" G2 g gfg | ded BAG |"Am" A2 a aba |"D" fed cBA |"G" G2 g gfg | ded BAG | 
"Am" ABc def |"G" g3 g2 :|  