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
['GEDE G3 A B2 BA', 'G4 g3 e f3 d e2 ef']  
X:1
L:1/8
M:4/4
K:G
 GEDE G3 A | B2 BA BcdB | GEDE GABG | A3 B AGEF | GEDE G3 A | B2 BA Bcdg | e3 f gedc | BGAF G4 :| 
 g3 e f3 d | e2 ef edBd | gedB GABG | A3 B AGEF | GEDE G3 A | B2 BA Bcdg | e3 f gedc | BGAF G4 :|  