Develop a musical piece incorporating the designated alphabet-based pattern and the supplied melodic theme.
X:1
L:1/16
M:2/4
K:D
['B4 A4 G2G2', 'B2G2A2D2 G2G2', 'BcdB ABcA G2G2']  
X:1
L:1/16
M:2/4
K:D
 dc |"^*" B4 A4 | G2G2 cBAG | FGAB A2dc | B4 A4 | G2G2 ABcA | B2G2G2 :: dc | B2G2A2D2 | G2G2 cBAG | 
 FGAB A2dc | B2G2A2D2 | G2G2 ABcA | B2G2G2 :: dc | BcdB ABcA | G2G2 cBAG | FGAB A2dc | BcdB ABcA | 
 G2G2 ABcA | B2G2G2 |]  