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/4
K:G
['d/B/ GG G/A/B/c/ dd dB ee e>d', 'B G3 B A3']  
X:1
L:1/8
M:2/4
K:G
 d/B/ | GG G/A/B/c/ | dd dB | ee e>d | e>d e/f/g/a/ | b3 g/d/ | g3 d/B/ | d3 A/B/ | G2 z :| d | 
 gb a>g | e g2 e | a3 e | a3 d | gb a>g | ef g>e | dB gB | B A2 B | G3 B | A3 c | dB g>b | a g2 B | 
 G3 B | A3 e | dB b>g | a g2 ||  