Ladder & Brick

I take AP physics in high school and there is this one problem that keeps haunting me. One day I was looking for inspiration and saw the problem again. This time I had a different reason and field in which I solve this problem.