What are the rules for animal mating?
Solution 1:
You only need 1 animal to breed them, technically. However, animals can die off for no particular reason, which means that you are best off buying at least 2 since the livestock trader is so rare that you don't want to risk having one die off immediately and having to wait for the next trader. Animal birth rates depend on if the pen is worked and how many animals are in the pen (more animals means more babies)
Solution 2:
Farm animals have a lifecycle just like humans. They get born, mature into adults, have children and die of old-age. But in contrary to humans they procreate asexually. A single animal in a pasture is enough to start a livestock industry (when it is still young enough).
Of all animals, chicken have the highest rate of growth. They more than double their number each year. But they also have the lowest yield of food per butchered animal: a mere 6 units.
Cattle and sheep procreate much slower. Sheep double about every 30 months, cattle slightly lower with every 36. But butchering a cow or sheep yields a whole 200 units of food, enough to feed two citizens for a year.