Produce a musical work that intertwines the supplied melodic theme and the indicated alphabetical pattern.
X:1
L:1/8
M:2/2
K:Amix
['a2 ea']  
X:1
L:1/8
M:2/2
K:Amix
"A" e2 AB cdec |"G" d2 BG dG (3Bcd |"A" e2 AB cdef |1"G" gedB"A" BAAd :|2"G" gedB"A" BA A2 || 
"A" a2 ea aged |"G" (3Bcd ef g2 fg |"A" a2 ea agab |"G" gedB BA A2 |"A" a2 ea aged | 
"G" (3Bcd ef g2 fg |"D" afge fdef |"G" gedB BAAd |]  