Let L be the length of the ladder. The ladder and the side of the house form a right triangle with the ladder being the hypotenuse and the house wall being the side opposite the 30 degree angle. We have a theorem that says that in a right triangle the side opposite a 30 degree angle is half the hypotenuse, in this case L/2.