Crossing ladders

Ladder

Imagine two ladders, A and B, crossing in an alleyway. Ladder A’s top is leaning against the left wall of the alley and its base is touching the right wall. Ladder B’s top is leaning against the right wall of the alley and its base is touching the left wall. If you look at them from a distance, they kind of look like an “X”.

If I tell you ladder A is 2 feet long, and ladder B is 3 feet long, and the point at which the two ladders meet is 1 feet above the ground, how wide is the alley?

Solution