Two legs is the man, three legs is his stool, one leg is a leg of mutton and four legs is the dog. He throws the stool at the dog, and the dog drops his dinner.