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
['G>A BG EG ED', 'dB G>A']  
X:1
L:1/8
M:2/4
K:G
 G>A BG | EG ED | G>A Bd | BA AB | G>A BG | EG ED | BG D/E/F/G/ |1 AG GD :|2 AG G>B |: dB G>A | 
 BG ED | dB G>A | BA AB | dB G>A | BG ED | BG D/E/F/G/ |1 AG G>B :|2 AG GD ||  