Compose a tune that integrates the letter-based representation of the determined musical pattern and the given melodic idea.
X:1
L:1/4
M:12/8
K:D
['A2 D F3/2 E/ D', 'e f2 d']  
X:1
L:1/4
M:12/8
K:D
 A2 D | F3/2 E/ D | A B c | d2 B | A2 D | F3/2 E/ D | G E E | E3 | A2 D | F3/2 E/ D | A B c | 
 d2 B | d2 B | A3/2 B/ G | F D D | D3 || d2 e | f2 d | g2 e | f2 d | B2 c | d2 B | A3/2 B/ G | 
 F3/2 E/ D | d2 e | f2 d | g2 e | f2 d | B2 d | A3/2 B/ G | F D D | D3 ||  