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
['gf efed BedB AGEG AcBA GFGA', 'g2 fg']  
X:1
L:1/8
M:4/4
K:G
 gf | efed BedB | AGEG AcBA | GFGA BABd | e2 A2 A2 gf | efed BedB | AGEG AcBA | GFGA BdAc | 
 B2 G2 G2 :| dc | BGBd g2 fg | agfg edBd | g2 fg edBd | e2 A2 A2 fg | agfa g2 fe | dBAG AcBA | 
 GFGA BdAc | B2 A2 A2 :|  