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:2/2
K:F
['fedg fdcA', 'B2 Gd (3BAG EG']  
X:1
L:1/8
M:2/2
K:F
 fedg fdcA | F2 AF cFAd | fedg fdcA | FGAc dG G2 | fedg fdcA | F2 AF cF A2 | agfa g2 fd | 
 c2 Ac dG G2 :: B2 Gd (3BAG EG | FcAF cF (3Acd | B2 Gd (3BAG EG | FdcA dG G2 | B2 Gd (3BAG EG | 
 FcAF cF A2 | agfa g2 (3fed | c2 Ac dG G2 :|  