Compose a tune that integrates the letter-based representation of the determined musical pattern and the given melodic idea.
X:1
L:1/8
Q:1/4=120
M:2/2
K:G
['D>E D>E', 'B>G G2 DGB,D G,B,DG']  
X:1
L:1/8
Q:1/4=120
M:2/2
K:G
 G2 D>E D>E D>E | D>G B2 D>G B2 | c2 A>B A>B A>B | AGFG AFED | G2 D>E D>E D>E | DGBG DGBG | 
 c2 A>B A>B A>B | AGFG AFED :: B>G G2 DGB,D | G,B,DG F>A A2 |"^tr" B>G G2 DGB,D | G,B,DG A>F G2 :|  