Assemble a piece of music by merging the alphabetic representation of the predetermined musical pattern and the provided melodic theme.
X:1
L:1/16
M:3/4
K:G
['B2>d2 dBce dcBA BGBd dgba gBdg edcB', 'G4 B2>d2 dcBc dcBc A2>g2 g2fg agfg']  
X:1
L:1/16
M:3/4
K:G
 B2>d2 dBce dcBA | BGBd dgba gBdg | edcB cABc defg | d2>c2 BGAB cdec | Bdef gBdg ecAc | 
 BdFA A4 G4 :: B2>d2 dcBc dcBc | A2>g2 g2fg agfg | eceg fdef gaba | gfef defg d4 | 
 dcBc d2>g2 agfg | edcB c2>a2 agfg | ed^cd ed^cd fd^cd | ABAG FGFE DFAc | B2>d2 dBce dcBA | 
 BGBd dgba gBdg | edcB cABc defg | d2>c2 BGAB cdec | Bdef gBdg ecAc | BdFA A4 G4 :|  