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
['', 'GAGE DEGB e2 dc dBAG', 'GBed BedG edge']  
X:1
L:1/8
M:4/4
K:G
 D2 |: GAGE DEGB | e2 dc dBAG | e2 dB cBAG | EGcB ADEF | GAGE DEGB | e2 dc dBAG | c2 dc BAGE | 
 DGcB ADEF :: GBed BedG | edge dBAG | Aeag eagc | agef gedB | GBed BedG | edge dcBG | cAdc BAGE | 
 DGBA GDEF :|  