Answer:
There are 18 pigs and 12 chickens.
Explanation:
p = # of pigs
c = # of chickens
I'm assuming each animal has one head and all the pigs have 4 legs and all the chickens have 2 legs, therefore:
p+c = 30
4p+2c = 84
Elimination:
-2(p+c = 30) -2p -2c = -60
4p +2c = 84 4p +2c = 84
2p = 24
p = 12
Now substitute p for 12:
12 + c = 30
c = 18
Check:
4(12) + 2(18) = 84
48 + 36 = 84
84 = 84
There are 18 chickens and 12 pigs.