Construct a musical piece by amalgamating the designated alphabetical representation and the supplied musical theme.
X:1
L:1/8
M:12/8
K:D
['f2 A f2', 'ABd def a2 f e2 d Bee']  
X:1
L:1/8
M:12/8
K:D
|: f2 A f2 A f2 e e2 f | dBc d2 f edB ABd | f2 A f2 A f2 e e2 c | dBB ABd e3 d3 :: 
 ABd def a2 f e2 d | Bee efe d2 B BAB | ABd def a2 f e2 d | Bee efe d3 d3 :|  