Solution:
Given:
where;
A right triangle can be extracted from the image above,
Applying the Pythagoras theorem to the right triangle,
To find w, substitute the known values into the formula,
Therefore, the distance from the wall that the base of the ladder should be while they climb back in is 12 feet.
Hence, option D is the correct answer.