a farmer has some pigs and some ducks.there are 9 headsand 2