Distract 2*3 = 6 legs and 2 heads. Then you will have the problem for normal animals: A farmer has donkeys and ostriches. There are 98 heads and 246 legs. Calculate how many of each animal type the farmer has. For this, see the lesson Problem on animals at a farm where similar problems were solved. Use them as samples and solve your problem by using the same logic and the same technique. At the end do not forget to return back two heads that you distracted in the beginning.
Let the number of donkeys be D
Then number of ostriches = 100 – D
Number of donkeys with 4 legs: D – 2
We then get the following LEGS equation: 2(100 - D) + 4(D – 2) + 3(2)) = 252
200 - 2D + 4D – 8 + 6 = 252
- 2D + 4D + 198 = 252
2D = 252 – 198
2D = 54
D, or number of donkeys =, or
Number of ostriches: 100 – 27, or