Construct a musical piece by amalgamating the designated alphabetical representation and the supplied musical theme.
X:1
L:1/8
M:6/8
K:G
['gdB{c} BAB', 'gfg{c} bag']  
X:1
L:1/8
M:6/8
K:G
 f | gdB{c} BAB | GBA G{c}Bd | gdB{c} BAB | GBd{aed} e2 f | gdB{c} BAB | GBA G{c}Bd | gfe{a} .fdB | 
 (4:3:4G.B.cd{aed} e2 :| f |{a} gfg{c} bag |{fg} fef{b} afd |{a} gfg{c} bag |{b} afd{aed} e2 f | 
{a} gfg{c} bag |{fg} fef{b} afd |{a} gfe{a} .fdB | (4:3:4G.B.cd{aed} e2 :|  