a farmer saw some chickens and pigs in a field. he counted 60 heads and 176 legs. determine exactly how many chickens and pigs he saw