Ladder in a tunnel problem

Question

Hints

Answer