Pythagorean Theorem is really easy once you get the hang of it.
So you have right angle, angles a b and c. Angle a is at the bottom. Angle b is part of the right angle. And c is the longest part. A squared + b squared = c. So c has to always be the biggest number obviously. So if a is 4 and b is 7 what is c? 4 times 4 is 16 and 7 times 7 is 49. 16+49= 65. And then the square root of 65 is 8.06. The tenth is 0. 6 is greater then 5 so you round up so 0 will become a 1. So it'll be 8.1, also if a was 3 and b was 4 c would be 5. It'll always work like 30,40 and 50. If you don't get it watch some YouTube videos lol