Answer:
You can use the Pythagorean theorem
Step-by-step explanation:
The equation is a^2+b^2=c^2
(the ^ thing indicates an exponent here)
Say you have a right triangle with one side being 5cm, and another being 12cm, you can plug those two values into the equation as such
5^2+12^2=c^2
then you solve
5 to the second power is 25, and 12 to the second power is 144. put those two in and you got
25+144=c^2
add the two
169=c^2
Once you get there, you take the square root of 169(nice) which would get you 13.
And that right there, would be your answer to this problem.
Hope this helps! The equation can go either way too.
You can arrange it like b^2+c^2=a^2 or c^2+a^2=b^2 or whatever you want.