Produce a musical work that intertwines the supplied melodic theme and the indicated alphabetical pattern.
X:1
L:1/8
M:6/8
K:G
['EGG BGG AGA Bdd', 'G3 ged BGA BGA Bde geg dga']  
X:1
L:1/8
M:6/8
K:G
|: EGG BGG | AGA Bdd | egg edB | AGA BGD | EGG BGG | AGA Bdd | BAG EDE | GAG G3 :: ged BGA | 
 BGA Bde | geg dga | bag a3 | g3 ede | ged B2 A | BAB dBG | ABA G3 :|  