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
['d>c B>GD>G B>GD>G']  
X:1
L:1/8
M:4/4
K:G
"D" d>c |"G" B>GD>G B>GD>G | (3(gfg) fg"C" e2 d>c |"G" B>GD>G B>GD>G |"D7" d>cB>A A2 d>c | 
"G" B>GD>G B>GD>G | (3(gfg) fg"C" e2 d>c |"G" B>gf>g"D7" e>cA>F |"G" G2 B2 G2 :| g>a | 
"Em" b>ag>f e>fg>g | b>ag>f e2 f>g |"D" a>gf>e d2 e>f | a>gf>e dd (3(def) |"G" g>fg>d (3(efg) d>B | 
"D7" c>BA>B c>de>f |"G" g>fg>d"D7" e>cA>F |"G" G2 B2 G2 :|  