Develop a musical piece incorporating the designated alphabet-based pattern and the supplied melodic theme.
X:1
L:1/4
Q:1/4=240
M:4/4
K:Dmin
['D D', 'D2 E/F/ G2 F/E/ D2']  
X:1
L:1/4
Q:1/4=240
M:4/4
K:Dmin
|:"Dm" F3/2 G/ A F |"Bb" B A"Gm" G F | E/F/ G2 F/G/ |"Dm" A2 A2 | F3/2 G/ A F |"Bb" B A"Gm" G F | 
 E/F/ G2 F/E/ |"Dm" D2 D2 :: D A D D | D D D2 |"Gm" E/F/ G2 F/G/ |"Dm" A2 A2 | D A D D | D D D2 | 
"Gm" E/F/ G2 F/E/ |"Dm" D2 D2 :|  