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:3/4
K:D
['AF DF', 'B2 Ac']  
X:1
L:1/8
M:3/4
K:D
|: AF | DF A2 d2 | c2 A2 A2 | Ac e2 g2 | f2 d2 AF | DF Ad Fd | c2 A^G A2 | Ac eA ce | d2 D2 :: fg | 
 af d2 A2 | c2 B2 B2 | Ac e2 g2 | fA dA fg | aA dA FA | c2 B^A B2 | Ac eA ce | d2 D2 :|  