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
['FG AFDF AFdB AdFA fedc BdGB gefd', 'de fdcd BdAd']  
X:1
L:1/8
M:4/4
K:D
 FG | AFDF AFdB | AdFA fedc | BdGB gefd | ecdB A2 FG | AFDF AFdB | AdFA fedc | BdGB gefd | 
 ecAc d2 :: de | fdcd BdAd | Fade fdcd | eAfA gAfA | ecdB A2 de | fdcd BdAd | FAde fdcd | 
 eAfA gAfA | ecAc d2 :|  