Ex. 165. Inside an angle of $90^{\circ}$, a point is given, located at distances of 8 and 1 from the sides of the angle. What is the minimum length of the segment passing through this point, with its ends lying on the sides of the angle?
Ex. 165. $5 \sqrt{5}$.