A ladder reaches a window 12 m above the ground and its foot is at a distance of 5 mfrom a wall, then the length of the ladder is