When you have missing side lengths of a right triangle, you can use special triangles to find the side lengths. Where the angles are 45-45-90, each triangle has side lengths with the relationship 1 - 1 -√2.
This means for problem 9, the side length 8 is the equivalent of the special triangle √2 * √32 = √64 = 8. So each side is multiplied by √32.