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
['DEG GFG A3 AGA B2 c BAG', 'Bcd dcd']  
X:1
L:1/8
M:6/8
K:G
 DEG GFG | A3 AGA | B2 c BAG | ABA AGE | G3 E2 D | DEG !fermata!G3 :: Bcd dcd | e3 edc | Bcd dcd | 
 e=fg BAG | BcA B3 | ABA AGA | BcB BAG | ABA AGE | G3 E2 D | DEG !fermata!G3 :|  