What is the length of segment AC?

Making a triangle with line segment AC as the hypotenuse, we see the two legs are 6 and 8 units. Using the Pythagorean theorem, 6^2=36 and 8^2=64. 36+64=100. The square root of 100 is 10, so the length of AC is 10 units. Please give me brainiest. Have a great day.