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:G
['G>D G<e', 'B>d E2 ED B>c d2 d f']  
X:1
L:1/8
M:4/4
K:G
|: D |"G" G/G/G G>G G>D G<e |"G" d<BA>G"^em" E2 E>D |"G" G/G/G G>G G>D G<e | 
"Am" d>e g<B"D7" d2 d || e |"G" d>e g<B"G" d<BA>G |"Em" A>B c/B/A/G/"D7" E2 E>D | 
"G" G/G/G G>G"E#m" G>D G<e |"C" d<B"D7" A>B"G" G2 G :| D |"G" B>dg>d"C" e>d"G"g>d | 
"G7" B>d c/B/A/G/"C" E2 ED |"G" B>dg>d"C" E>D"G"G>A |"E#m" B>c d/e/f/g/"D7" d2 d || f | 
"G" g>fe>d"G7" e>dc>B |"C" AB c/B/A/G/"D7" E2 E>D |"G" G/G/G G>G"E#m" G>D G<e | 
"C" d<B"D7" A>B"G" G2 G |]  