The attached diagram shows the triangle ABC formed by the ladder with the wall of the house.
Triangle ABC is a right angle triangle. It has a 90 degree angle. The length of the ladder forms the hypotenuse(AC)of the triangle. This length can be determined by applying Pythagoras theorem