Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/8
M:2/2
K:A
['e2 (cA) cdef', 'eaaf gedB TcA']  
X:1
L:1/8
M:2/2
K:A
|: e2 (cA) cdef | gedc BcdB |1 e2 (cA) cdef | gedB TcA A2 :|2 cAcd e^def | gedB TcA A2 |]: 
 cAce a2 (ef) | gedc BcdB |1 eA (3.A.A.A a2 (ef) | gedB (TcA) A2 :|2 A2 (3(Bcd) eaaf | 
 gedB TcA A2 |]  