The riddle
What Is the Difference Between One Yard and Two Yards?
AnswerA fence
From Conundrums, Riddles, Puzzles and Games, 1902
Two kinds of yard
In measuring, a yard is a length of three feet. Beside a house, a yard is the ground that surrounds it, often with a lawn. Two yards in that second sense are two separate patches of ground, and what keeps them apart is a fence. So the difference is not a number of feet at all. It is the line between neighboring lawns.
Cutter, 1902
Sarah J. Cutter included it in her 1902 collection, and the answer there is the same two words: "A fence."