Question 703991
Assume the farmer has p pigs and c chickens.

p + c = 43

4p + 2c = 142

2p = 142 - 86

p = 71 - 43 = 28

c = 15