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
Q:1/8=180
M:2/2
K:G
['d2 g2 gdBd c2 e2 e2 ge', 'dBdB d2 gd']  
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
 G2 | d2 g2 gdBd | c2 e2 e2 ge | dBdB edcB | ABcB AGFD | d2 g2 gdBd | c2 e2 e2 ge | dBdB ecAF | 
 G2 G2 G2 :| Bc | dBdB d2 gd | gege cege | dBdB edcB | ABcB AGFD | dBdB d2 gd | ecec e2 ge | 
 dBdB ecAF | G2 G2 G2 :|  