Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/16
M:2/4
K:D
['(3BdB G>B g>dB>d (3cdc A>c g>ec>e', 'd2 (3ABc d2f>d d>fe>d f2a>f f3/2dg>B A3/2dc>B']  
X:1
L:1/16
M:2/4
K:D
 (d>B) | (3ABA F>A f3/2dA>d | (3BdB G>B g>dB>d | (3cdc A>c g>ec>e | d>cd>f a>fd>B | 
 (3ABA F>A f>dA>d | (3BdB G>B g>dB>d | (3cdc A>c g>ec>e | d2f2 d2 :: (3ABc | d2f>d d>fe>d | 
 f2a>f f3/2dg>B | A3/2dc>B A3/2GF>E | d3/2fa>f g3/2ec>A | d2f>d d3/2fe>d | f2a>f f>dg>B | 
 A3/2dc>B AGFE | D2D2 D2 :|  