Compose a tune that integrates the letter-based representation of the determined musical pattern and the given melodic idea.
X:1
L:1/8
Q:1/2=110
M:2/2
K:A
['cd e2 ef edcB AB d4']  
X:1
L:1/8
Q:1/2=110
M:2/2
K:A
 cd |"A" e2 ef edcB | AB (3cBA"D" d4 |"A" c2 cA (3BcB Ac |"E" BAGF E2 cd |"A" e2 ef edcB | 
 AB (3cBA"D" d4 |"A" cBAc"E" BA G2 |"A" A6 :: G2 |"Bm" F4 B4 | F2 AB- BA F2 | 
"^(C#)""A" A2 cA BcAB | cABc- cB A2 |"^(D)""Bm" F4 B4 | F2 AB- Bfed |"^(E7)""A" cdec"E" BA G2 | 
"A" A6 :|  