You can put this solution on YOUR website! 600=g+c
c=600-g
4g+2(600-g)=900
There is something wrong because the number of chickens comes up negative 150
Double check your numbers. Even 600 chickens would have 1200 legs.
Could it be 1900?
250 chickens 350 goats
500 chicken legs and 1400 goat legs