Arrange a song combining the mentioned alphabetical representation of a musical pattern and the given melodic theme.
X:1
L:1/8
M:4/4
K:G
['', 'dc (3BdB GB (3AcA FA', 'bagf eAfA eAfA', 'dcBA GBDB GBDB (3GAG gf edBG FGAB']  
X:1
L:1/8
M:4/4
K:G
 dc |: (3BdB GB (3AcA FA | Gdgf edBG | FGAB cdef | gdBG A2 dc |"^5" (3BdB GB (3AcA FA | GBgf edBG | 
 FGAB cdef | g2 f2 g2 z2 :|"^9" dgfg dgBg | dgfg bagf | eAfA eAfA | edcB dcBA |"^13" GBDB GBDB | 
 GBgf edBG | FGAB cdef | g2 f2 g2 z2 ||"^17" dgfg dgBg | dgfg bagf | eAfA eAfA | edcB dcBA | 
"^21" GBDB GBDB | (3GAG gf edBG | FGAB cdef | g2 f2 g2 z2 ||  