then find the distance by which the top of the ladder would slide upwards on the wall.