https://www.collectedny.org/mathmemos/goats-and-chickens-problem/
The Goats and Chickens Problem