So I was facing a Riddle from Dudeney's Canterbury Puzzles book (number $99$), which states :
A country baker sent off his boy with a message to the butcher in the next village, and at the same time the butcher sent his boy to the baker. One ran faster than the other, and they were seen to pass at a spot $720$ yards from the baker's shop. Each stopped $10$ minutes at his destination and then started on the return journey, when it was found that they passed each other at a spot $400$ yards from the butcher's. How far apart are the two tradesmen's shops? Of course each boy went at a uniform pace throughout.
I was trying to write down the equations of motion, but I realised that I cannot.
Calling $A$ and $B$ the distance between baker and butcher, I named a point $P$ where they meet the first time.
Because the first (let's choose it) runs faster, it will surely, over a time $t$, walk more yards than the other. And also it will arrive first at the destination.
Yet the other may still be walking to reach his destination. But whilst he is still walking, the other is resting and those $10$ minutes decrease. At the end of the first person's rest, the other may or mayn't still walking, or he may be resting or why not he may already have to arrive.
How do I set up the equations for a problem like this?
For the records, I report the "apparently weird" solution (weird because the method is weird, and there is no explanation).
All that is necessary is to add the two distances at which they meet to twice their difference. Thus $720 + 400 + 640 = 1760$ yards, or one mile, which is the distance required. Or, put another way, three times the first distance less the second distance will always give the answer, only the first distance should be more than two-thirds of the second.