You can put this solution on YOUR website! Let a & b be the length of the 2 sides of a triangle & c the hypotenuse.
Assume a=3 & b=4 solve for c.
a^2+b^2=c^2
3^2+4^2=c^2
9+16=c^2
25=c^2
c=sqrt25
c=5 ans. for the length of the hypotenuse.
-----------------------------------------------
Let a=5 & c=13 solve for b.
5^2+b^2=13^2
25+b^2=169
b^2=169-144
b^2=25
b=sqrt25
b=5 ans. for the other side.