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:Edor
['Beed BcdB ADFD ADFD EDEF GFGA', 'gfga bgeg']  
X:1
L:1/8
M:4/4
K:Edor
 ed | Beed BcdB | ADFD ADFD | EDEF GFGA | Beef gfed | Beed BcdB | ADFD ADFD | EDEF GFGA | 
 Beed e2 :| ef | gfga bgeg | fefg afdf | gfga bgeg | fedf e2 ef | gfga bgeg | fefg afdf | 
 g2 bg f2 af | edef gf :|  