Compose a tune that integrates the letter-based representation of the determined musical pattern and the given melodic idea.
X:1
L:1/16
M:2/4
K:D
['D2(F>A) d2d2 D2(F>A) (d>e)(d>c) (e>f)(e>c) A2(B>c)']  
X:1
L:1/16
M:2/4
K:D
"D" D2(F>A) d2d2 | D2(F>A) (d>e)(d>c) |"A" (e>f)(e>c) A2(B>c) |"D" d2(c>B) (A>G)(F>E) | 
"D" D2(F>A) d2d2 | D2(F>A) (d>e)(d>c) |"A" (e>f)(e>c) A2(B>c) |"D" d2d2d2 z2 :: 
"D" a2a2"A" g2(e>g) |"D" (f2d2)"A" e4 |"Dm" =f2(a>g) Tf2(e>d) |"Gm" (c>d)(e>d)"A" c2A2 | 
"D" a2a2"A" g2(e>g) |"D" (f2d2)"A" e4 |"Dm" =f2(a>g)"Gm" Tf2(e>d) |"A" (c>d)(e>c)"Dm" d4 :|  