Compose a tune that integrates the letter-based representation of the determined musical pattern and the given melodic idea.
X:1
L:1/8
Q:1/2=100
M:2/2
K:D
['defe dcBA', '(3DED AF', 'a>ba>f a>ba>f']  
X:1
L:1/8
Q:1/2=100
M:2/2
K:D
 defe dcBA | GFdF E2 E2 | defe dcBA | BdAF D2 D2 :| (3DED AF (3DED AF | (3EFE BG (3EFE BG | 
 (3DED AF (3DED AF | BdAF D2 D2 :| a>ba>f a>ba>f | (ge)(be) (ge)(be) | a>ba>f a>ba>f | 
 (ge)(af) d2 d2 :|  