Craft a musical piece that integrates the provided melodic theme and the corresponding alphabetical pattern.
X:1
L:1/8
M:4/4
K:D
['B2 B2', 'B2 B2']  
X:1
L:1/8
M:4/4
K:D
 ABAG F2 GA | B2 B2 A4 | Bcdc B2 B2 | g2 f2 e4 | ABAG F2 GA | B2 B2 A4 | BcdB c2 de | E4 d4 |: 
 f2 gf e2 fe | dfed c2 BA | Bcdc B2 B2 g2 f2 e4 | GBAG F2 GA | B2 B2 A4 | BcdB c2 de | e4 d4 :|  