A path separates two walls. A ladder leaning against one wall rests at a point on the path. It reaches at a height of 90 m on the wall and makes an angle of 60° with the ground. If while resting at the same point on the path, it were made to lean against the other wall, it would have made an angle of 45° with the ground. Find the height it would have reached on the second wall.