A ladder leans against a vertical wall. The top of the ladder is 8 m above the ground. When the bottom of the ladder is moved 2 m farther away from the wall, the top of the ladder rests against the foot of the wall. What is the length of the ladder?
10 m
15 m
20 m
17 m