Solve the below problem:
Q: A cube of edge 12 ft is placed on the floor with one of its faces touching a wall. A ladder of length 35 ft is resting against that wall and is touching an edge of the cube. Find the height at which the top end of the ladder touches the wall, given that it is more than the distance of the foot of the ladder from the wall?