how many strings can be made from the letters A,B,C,D,E which

1) contain the substring ABE
2) contain the subsrting AC or CA
3) have A before C and C before E