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 EB,EB B2 EB', 'fB B2']  
X:1
L:1/8
M:4/4
K:Edor
 B2 Ad BEED | EB,EB B2 EB | BAFA D3 E | FDFA BAFA | B2 A=c BEED | EB,EB B2 EB | BAGF GABc | 
 dBAG FDFA :: d2 ef gfed | fB B2 fB B2 | d2 ef gfed | ceae ceae | d2 ef gfed | fB B2 fB B2 | 
 a2 ge fdec | dBAG FDFA :|  