Produce a musical work that intertwines the supplied melodic theme and the indicated alphabetical pattern.
X:1
L:1/8
M:6/8
K:E
['B =d2 B B2 A']  
X:1
L:1/8
M:6/8
K:E
 =D | =G2 =D G2 A | BB z3 B | =d2 B B2 A | B3 z2 B | =d2 B B2 A | B=G z3 A | B2 F =G2 F | E2 z3 |]  