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:G
['d>Bc>e d2', 'B2 B2 (d>^c)d>B G2 G2']  
X:1
L:1/8
M:2/2
K:G
|: (vG>A)B>c d>Bc>e | d2 B2 G4 | (F>G)A>B c>AB>G | A2{^c} d2 D4 | (G>A)B>c d>Bc>e | d2 g2 b4 | 
 (a>b)a>g f>ga>f | g2 g2 g4 :: (vg>f)g>d B2 B2 | (d>^c)d>B G2 G2 | (F>G)A>B c>AB>G | A2{^c} d2 D4 | 
 (g>f)g>d B2 B2 | (d>^c)d>B G2 G2 | (e>f)g>e f>ga>f | g2 b2 g4 :|  