Andrew K. answered 02/17/16
Tutor
4.4
(7)
Over 40 years of experence teaching mathematics at college level
say there are p pigs and c chickens
then p+c = 20. So, c = number of chickens = 20 - p
and they have 4p+2c = 54 legs
substitute 20-p for c:
4p + 2(20-p) = 54
4p +40 -2p = 54
2p = 14
p = 7
c = 13