Compose a tune that integrates the letter-based representation of the determined musical pattern and the given melodic idea.
X:1
L:1/4
M:3/4
K:G
['B c', 'g z', 'G z']  
X:1
L:1/4
M:3/4
K:G
 d |:"G" B A B |"D7" c B c |"G" d b3/2 g/ | d3 |"D7" d f3/2 e/ | c3 | c e3/2 d/ |"G" B3 | B A B | 
"D7" c B c |"G" d b3/2 g/ | d3 |"D7" d f3/2 e/ | c2 F |"G" G3/2 g/ g | g z d :|"C" e2 ^d/e/ | 
 g2 f/e/ |"G" e2 d | B z d/g/ |"D7" b2 a | c z d/f/ |"G" a2 g | B z d |"C" e2 ^d/e/ | g2 f/e/ | 
"G" e2 d | B z d/g/ |"D7" b2 a | e2 f |"G" g3/2 g/ g |1 g z d :|2 g z g |:[K:C]"G7" b a g | f e d | 
"C" c2 G | z ^f/g/ f/g/ |"G7" g/f/ d/B/ G | z g/a/ g/a/ |"C" a/g/ e/c/ G | z c/e/ g/c'/ | 
"G7" b a g | f e d |"C" c2 G | z ^f/g/ f/g/ |"G7" g/f/ d/B/ G |"C" a/g/ e/c/ G |"G7" f3/2 B/ B | 
"C" c z z :|  