Craft a musical piece that integrates the provided melodic theme and the corresponding alphabetical pattern.
X:1
L:1/8
Q:1/4=140
M:2/2
K:D
['(ABdB) (ABdB)', 'efaf efaf']  
X:1
L:1/8
Q:1/4=140
M:2/2
K:D
 (ABdB) (ABdB) | (ABdB) A2 F2 | (GA)(BG) (FG)(AF) | E4 A,4 | (ABdB) (ABdB) | (ABdB) A2 F2 | 
 (GF)(ED) E2 A,2 | D8 :: efaf efaf | efaf e2 c2 | (de)(fd) (cd)(ec) | B4 A4 | (ABdB) (ABAF) | 
 (GFED) E2 A2 | (BcdB) (AGFE) | D8 :|  