Produce a musical work that intertwines the supplied melodic theme and the indicated alphabetical pattern.
X:1
L:1/8
M:2/2
K:G
['BA GB B2 d2 Bd', 'A2 Bd g3 b afge dBBA GABd']  
X:1
L:1/8
M:2/2
K:G
 BA | GB B2 d2 Bd | edBe dBAB | G3 B dedB | ABGE D2 BA | GB B2 d2 Bd | gedB G2 Bd | edcB cdef | 
 gedB A2 :: Bd | g3 b afge | dBBA GABd | g3 a g2 ed | eaag a2 ga | bg g2 ageg | dBBA G2 Bd | 
 edcB cdef | gedB A2 :|  