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:Dmin
['D<DD>E F>EF>G A<dd>c', 'A<dd>A A<cc>A A<dd>A c>AG>F']  
X:1
L:1/8
M:4/4
K:Dmin
 D<DD>E F>EF>G | A<dd>c d2 d>e | f>ed>f e>dc>A | c<cA>G A<AF>E | D<DD>E F>EF>G | A<dd>c d3 e | 
 d>cA>c A<cc>A | =B<BA>G A<AF>E :| A<dd>A A<cc>A | A<dd>A c>AG>F | A<dd>c d>ef>g | a>fg>e f<dd>c | 
 A<dd>A A<cc>A | A<dd>A c>AG>F | D<CD>E F>EF>G | A<dd>c d2 d>c :|  