The correct option is B 360
Let's first think about a situation where the order in which A and E appears doesn't matter.
We will have 6! ways in which this can be achieved. Now comes the twist. In half of the possible arrangements , A will be before E and in the other half, E will be before A.
Hence total number of ways required =6!2=360