Hi there!
We can use the Pythagorean Theorem to solve:
Use the formula a² + b² = c² where:
"a" and "b" are the legs
"c" = Hypotenuse
The diagonal side, or the length of the ladder is 10cm, and one of the legs of the triangle is 8cm, therefore:
(8)² + b² = 10²
64 + b² = 100
Subtract 64 from both sides:
b² = 36
Take the square root of both sides:
√b² = √36
b = 6 cm. This is the distance of the wall from the foot of the letter.
Edit: Typo.