设鸭子有x只,那么鸡有(1+2/5)x=7/5x只
x+7/5x=12000
12/5x=12000
x=12000÷12/5
x=5000
∴鸭子有5000只,那么鸡有12000-5000=7000只