设养鸡X只,则养鹅1500-X只
X*(1/4)=(1500-X)*40%-15
0.25X=600-0.4X-15
0.65X=585
X=900
1500-900=600
养鸡900只,养鹅600只