It is obvious that they all have to be pigs with no chickens,
since 100=4*25, there are 4 times as many legs as there are heads,
and of course there are 25 pigs and no chickens. So this is a strange
problem. I hope the problem didn't state that there had to be some
chickens, since there aren't any. But anyway, we'll go through what
was giving you trouble.
Solve the first equation for either letter. I will
arbitrarily choose to solve the first equation for y
Next substitute for y in the second equation:
So since
So there are 25 pigs and no chickens.
Edwin