my answer was 27 and 56.
I thought of it as 3 seperate blocks, first block has 2B and 1C second has 1A and 2C then third has 2A and 1B, this is the only arrangement that we obey the restriction and total arrangements is
\dfrac{3!3!3!}{2!2!2!}=27
for part ii, if we take the case there was 1B...