Assemble a piece of music by merging the alphabetic representation of the predetermined musical pattern and the provided melodic theme.
X:1
L:1/8
M:4/4
K:G
['DG BG AG', '(3BBB (3Bcd ef g2 ge |1 dBA=c']  
X:1
L:1/8
M:4/4
K:G
 DG BG AG BG | DG BG AG (3GGG | DG BG AG BG |1 d2 ed BG GE :|2 d2 ed BG G2 || Bd dc d2 ef | 
 g2 fe gB (3BBB | (3Bcd ef g2 ge |1 dBA=c BG GA :|2 dB A=c BG G2 ||  