A farmhouse shelters 20 animals. Some are pigs and some are ducks. Altogether there are
46 legs. How many of each animal are there?