A Brain-Teaser: [Boxes and ladders]

From The Sunday Times, 12th April 1957 [link]

A schoolmaster set a problem of the following type to each of four pupils:

“A ladder of length ___ rests squarely, and more steeply than, 45 degrees, against a (vertical) wall, with its foot on the (horizontal) ground distant ___ from the base of the wall. A cubical box fits flush into the angle of the wall and the ground, and just touches the ladder. What is the length of side of the box?”

and he filled in the gaps in the problem as set out with Integral numbers of inches such that the answer would also be an integral number of inches.

To each pupil, however, he gave different values for the length of ladder (all less than 150 ft.) and for the distance of its foot from the base of the wall. The answers submitted to him by the four pupils were all the same, and all were correct.

What were the four different pairs of values he gave to his pupils, and what was the common answer implied by them?

This is one of the occasional Holiday Brain Teasers published in The Sunday Times prior to the start of numbered Teasers in 1961. A prize of £5 was offered.

This puzzle was originally published with no title.

[teaser-1957-04-12] [teaser-unnumbered]