Find the missing length of the triangle it’s OK if you can only do one

Answer: 6) 12mm 7) 24cm
Step-by-step explanation:
6) 15 squared = b squared + 9 squared
225 = b squared + 81
b squared = 225 -81 = 144
b = square root of 144 = 12
7) 26 squared = b squared + 10 squared
676 = b squared + 100
b squared = 676 - 100 = 576
b = square root of 576 = 24