Produce a musical work that intertwines the supplied melodic theme and the indicated alphabetical pattern.
X:1
L:1/8
M:4/4
K:D
['', '(3ABc d>cd>A F>DF>A B>dc>e d>cB>A', 'A>FD>F G>FG>A B>AG>F E2 e2 e2 d>e']  
X:1
L:1/8
M:4/4
K:D
 (3ABc |: d>cd>A F>DF>A | B>dc>e d>cB>A | B>cd>c B>AG>F | E2 e2 e2 (3ABc | d>cd>A F>DF>A | 
 B>dc>e d>cB>A | B>cd>B c>ge>c |1 d2 f2 d2 (3ABc :|2 d2 f2 d2 f>g |: a>fd>f g>ec>e | 
 d>cd>B A>FD>F | G>FG>A B>AG>F | E2 e2 e2 d>e | f>af>d c>ae>c | B>ge>c d2 f>e | d>cd>B c>ge>c | 
 d2 f2 d2 f>g :|  