Compose a piece using the specified musical pattern based on the alphabet and the provided melodic theme.
X:1
L:1/8
M:2/2
K:A
['cAA(c B)AA(d c)efg a2 (ga) bBB(c d)cBA', 'dcBc (3.A.A.A (AF) FEEe (3fga (ec) dcBc', '(3fga (3gab afec', 'cAce (3fga (ec) dcBc (GF)FE (FA)']  
X:1
L:1/8
M:2/2
K:A
 cAA(c B)AA(d | c)efg a2 (ga) | bBB(c d)cBA |1 cefg afed :|2 cefg afec |: (3.A.A.A(AF) FEEF | 
 A2 (Bc) dcBc | (3.A.A.A (AF) FEEe | (3fga (ec) dcBc :| Aceg agfe | (fe)fg (af)ec | Aceg agfe | 
 (3fga (3gab afec | Aceg agfe | (fe)fg (ag)af | (3bag (3agf (3gfe (3fed | (3fga (3gab afec |: 
 (3fga (ec) dcBc | AEAB cAce | (3fga (ec) dcBc | (GF)FE (FA) A2 :|  