Yatu teaches mathematics
Assuming there are x ducks and y rabbits, the equation X+Y= 12 can be listed. A two-legged duck and a four-legged rabbit can get 2X+4Y=40. According to these two equations, the solutions are: X = 4, Y = 8, so there are 4 ducks, 8 rabbits and 8 rabbit feet.