Produce a musical work that intertwines the supplied melodic theme and the indicated alphabetical pattern.
X:1
L:1/8
M:4/4
K:A
['(Ac{c} BA) (e2 f2) (e4 c2)', 'z2 (Ac){c} (BA){A} (e2 c2) |{c} B6']  
X:1
L:1/8
M:4/4
K:A
|: (Ac{c} BA) (e2 f2) | (e4 c2) z2 | (Ac){c} (BA){A} (e2 c2) |{c} B6 c2 | (Ac{c} BA) (e2 f2) | 
 (e4 c2) .A2 |{FG} (FE AB){AB} c2{Ac} B2 | A6 z2 :: (fd Ad) (f2 a2) | (e4 c2) z2 | 
 (Ac){c} (BA){A} (e2 c2) |{c} B6 z2 | (AcBA) (ef).g.a | (e4 c2) .A2 |{FG} (FE AB){AB} c2{Ac} B2 | 
 A6 z2 :|  