Answer:
5 chickens, 20 goats
Step-by-step explanation:
We can set up two equations and use substitution
There are 25 total goats and chickens, so
[tex]G + C = 25[/tex]
Goats have 4 feet and chickens have two, so
[tex]4G + 2C = 90\\[/tex]
By solving for G in the first equation,
[tex]G = 25 - C\\[/tex]
We can now use substitution,
[tex]G = 25 - C\\4G + 2C = 90\\4(25 - C) + 2C = 90\\100 - 4C + 2C = 90\\-2C = -10\\C = 5\\[/tex]
We have 5 chickens, so we have 20 goats.
Let's double check:
[tex]5(2) + 20(4) = 90\\10 + 80 = 90\\90 = 90\\[/tex]
It checks out!