Produce a musical work that intertwines the supplied melodic theme and the indicated alphabetical pattern.
X:1
L:1/8
M:4/4
K:G
['ed |[M:4/4] g4 d2 c2 B2 G2']  
X:1
L:1/8
M:4/4
K:G
 ef | g2 d2 BGdB | Gggf g2 ed | g2 d2 BGdB | Aefg f2 ed |[M:4/4] g4 d2 c2 B2 G2 BcdB | 
[M:4/4] Gggf g2 ed |[M:4/4] g4 d2 c2 B2 G2 BcdB |[M:4/4] Aefg f2 ::  