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:Ddor
['dcAB c3 A GEED', 'D2 Adde fded cBca gece d3 e']  
X:1
L:1/8
M:4/4
K:Ddor
|: dcAB c3 A | GEED c3 e | dcAB cBcA | GEcE ED D2 | dcAB c3 A | GEED cBce | dcAB cded | 
 cAGE ED D2 :: Adde fded | cBca gece | d3 e fdcd | ea a2 gece | d2 de fded | cBcd e=f g2 | 
 a=fge (3Bcd ed | cAGE ED D2 :|  