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
['G2 DG']  
X:1
L:1/8
M:2/4
K:G
 D | G2 DG | BBGB | d2 dd | dcBA | GGDG | B2 GB | dddd | dcB/z/A | G2 DG | B2 GB | d2 d2 | dcBA | 
 G2 DG | B2 GB | d2 dd | d2 z B | AGFG | A2 z B | AGFG | A2 z D | GABc | d>edc | BABc | d>edc | 
 BABc | d z e2 | dcBA | G2 z |]  