While I was driving through the countryside, I saw a farmer tending his ducks and pigs in his yard. I was curious to know how many of each he had. I stopped the car and then inquired the farmer.
He replied: "The animals have altogether 60 eyes and 86 feet between them."
How many number of ducks and pigs the farmer had?