Can anyone please check my below answers!

Q.1 How many permutations of the letters ABCDEFGH contain

a) the strings CAB and BED?

myans.) 5P5 = 5! = 120 ways

b) the strings BCA and ABF?

myans.) permutation not possible since B cannot be followed by both C and F at the same time.

Thanks for any help!