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
['D3 E F>EF>A G2 F>G', 'A>B c2']  
X:1
L:1/8
M:4/4
K:Ddor
|: (3FED E>F D3 E | F>EF>A G2 F>G | A>dd>^c d>=cA>G | F>DA>B c2 A>G | FDE>F D3 E | F>EF>A G2 F>G | 
 A>dd^c d=cA>G | F>D D2 D4 :: c2 c>A d2 ed | d>cA>^F G2 A>B | c2 A>d d>cA>G | F2 A>B c2 A>G | 
 F2 E>F D>ADE | F>EF>A G2 F>G | A>d^c>e d>cA>G | F2 D2 D4 :|  