(b)
At first we have to a accommodate those 5 animals in cages which cannot enter in 4 small cages, therefore, number of ways are $\ ^{6}P_{5}$ and rest of the five animals arrange in 5! ways.
Total number of ways $= 5! \times^{6}P_{5}$
$= 120 \times 720 = 86400$