1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34. you should first remove 2 from 34 that would give you 32. 32 divided by 4 which is the number of legs a single pig has is 8, 8 plus 2 divided by two which is the number of legs a single chicken has is 1 so I plus 8 is 9, but they said he has 10 animals, then you remove 4 again reducing the pig side to 28 and increasing the chicken size to 6. 28 divide by 4 is 7, and 6 divided by 2 is 3, so 3 plus 7 is 10, and ten is the number of animals, so the number of chicken is 3.
For part (a), first consider the simple case where we roll two dice.What is the probability that the second roll is greater than the first? Assuming a six-sided dice, the total number of outcomes $(i,j)$ is $6^2$.