Compose a piece using the specified musical pattern based on the alphabet and the provided melodic theme.
X:1
L:1/8
M:4/4
K:Amix
['A(ee)d (TcA) Tc2 B(gg)d BGBd (A/B/c/d/ e)A', 'B(gg)d BGBd']  
X:1
L:1/8
M:4/4
K:Amix
 A(ee)d (TcA) Tc2 | B(gg)d BGBd | (A/B/c/d/ e)A TcA Tc2 | A(aa)e TcAce :| (a/g/f/e/) fd ce Tc2 | 
 B(gg)d BGBd | (a/g/f/e/) ca eaca | Aaca eAce | (a/g/f/e/) ae fdec | B(gg)d BGBd | 
 (A/B/c/d/) eA cA Tc2 | A(aa)e TcAce ||  