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
['A2 a2 fefa', 'B3 c AAcA']  
X:1
L:1/8
M:2/2
K:A
 c | A2 a2 fefa | c2 cB c2 c>B | A2 a2 fefa | B2 B>A B2 Bc | A2 a2 fefa | c2 cB c2 c>e | 
 f>gfe f2 eg | a2 ec B3 :: c | AAcA ecce | c2 cB c2 a2 | AAcA ecce | B2 BA B3 c | AAcA ecca | 
 c2 cB c2 ce | f2 fe f2 eg | a2 ec B3 :|  