Compose a tune that integrates the letter-based representation of the determined musical pattern and the given melodic idea.
X:1
L:1/16
Q:1/8=163
M:2/4
K:Edor
['B2GF EFGA B2GF E4 AGFA', 'B2A2 d2A2', 'd2A2 B2A2', 'e2dc d2A2 AGFA d2AG F2E2']  
X:1
L:1/16
Q:1/8=163
M:2/4
K:Edor
"E5" B2GF EFGA | B2GF E4 | AGFA d2A2 | B2A2 Bcd2 | B2GF EFGA | B2GF E4 | AGFA d2AG | F2E2 E4 :| 
 f2e2 e2dc | B2A2 d2A2 | B2A2 d2A2 | B2A2 Bcd2 | f2e2 e2dc | B2A2 d2A2 | AGFA d2AG | F2E2 E4 :| 
"Em" B2GF EFGA | B2GF E4 |"D" AGFA d2A2 | B2A2 Bcd2 |"Em" B2GF EFGA | B2GF E4 |"D" AGFA d2AG | 
"Em" F2E2 E4 :|"Em" f2e2 e2dc | B2A2"D" d2A2 | B2A2 d2A2 |"Em" B2A2 Bcd2 | f2e2 e2dc | 
 B2A2"D" d2A2 | AGFA d2AG |"Em" F2E2 E4 :|  