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:4/4
K:G
['z G', 'z D GDGA']  
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
"_Affettuoso""^Sym." D | GDGA B2 z G | Bd c/B/A/G/ GF z G | AAB>^c d2 z D | 
 Bd ^c/d/e/f/ d2"_So" z D | GDGA BG z A | Bd c/B/ A/G/ GF z G | AA B>^c d2 z A | 
 Bd ^c/d/ e/f/ d2 z :: d | d>c Bd c>B Ac | Bd eG{G} F2 z D | GDGA Bd !fermata!gD | EAGF G2 z d | 
 A>GAB cc cB/A/ | G>FGA B2 z D | GDGA Bd !fermata!gG | EAGF G2"_Sym" z D | GDGA Bd!fermata!gG | 
 EAGF G2 z :|  