Construct a musical work that combines the specified alphabet-based pattern with the given melodic theme.
X:1
L:1/8
M:3/4
K:D
['EF GB B2 AG FA d2 Ad']  
X:1
L:1/8
M:3/4
K:D
 FG | A2 A2 FG | A2 A2 fd | c2 c2 BG | F2 z2 EF | GB B2 AG | FA d2 Ad | c2 ccBG | F4 EF | 
 GB B2 AG | FA d2 Ad | c2 ccBG | F4 fd | dA A2 FA | EA A2 gc | cA A2 GA | FA A2 fd | dA A2 FA | 
 EA A2 gc | cAAABc | d4 |]  