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
['BE E2 EDBA D2 ED FA A2', 'Be e2 edBc d2 ec']  
X:1
L:1/8
M:4/4
K:Edor
|: BE E2 EDBA | D2 ED FA A2 | G3 A B3 A | (3FGA Bc dBAd | BE E2 EDBA | D2 ED FA A2 | GFGA B3 A | 
 GEFD E3 d :: Be e2 edBc | d2 ec dB A2 | G3 A B3 A | (3FGA Bc dBAd | Be e2 edBc | d2 ec dBAF | 
 GFGA B3 A | GEFD E3 d :|  