There are the same number of rabbits and chickens, so the legs of rabbits are twice as long as those of chicken legs.
Chicken leg: 96÷(2+ 1)=32.
Both chickens and rabbits are: 32÷2= 16.
There are chickens and rabbits: 16×2=32.
Another solution:
Take 1 chicken and 1 rabbit as a whole.
A * * * has legs: 2+4=6.
Chicken and rabbit: 96÷6= 16.
* * * is: 16×2=32.