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:D
['d A>Bd>e f/e/d/c/ d2 A>Bd>f eE>GB ABde', 'AEGB (AF)dB (f>e)ec dABd F>DF<d AFdF fFAF']  
X:1
L:1/8
M:4/4
K:D
 d | A>Bd>e f/e/d/c/ d2 | A>Bd>f eE>GB | ABde (f/e/).d/.c/ d>B |:1 A<Fd>B ADFd :|2 AFdB ADFB || 
 AFdF fFAF | AFdB AEGB | (AF)dB (f>e)ec | dABd F>DF<d | AFdF fFAF | Adcd e>EG<B | A>F(f>d) ecdB | 
 Ad c/d/e/c/ dDFd ||  