Step 1: Model as a right triangle.
Height (vertical leg) $=5$ m, distance of foot from wall (horizontal leg) $=2$ m.
By Pythagoras, ladder length $L$ is the hypotenuse:
\[
L=\sqrt{5^2+2^2}=\sqrt{25+4}=\sqrt{29}\approx 5.385\ \text{m}.
\]
Step 2: Choose the closest option.
$\sqrt{29}\approx 5.39$ m, which is closest to $5.25$ m among the given choices.
\[
\boxed{\text{About }5.39\ \text{m} \ (\text{option }B\ \approx 5.25\ \text{m})}
\]