You can put this solution on YOUR website! use Pythagorean theorem:
if the sides are ,, and , and is hypotenuse, then we have
........solve for ...simplify
if =>........disregard negative solution, side length cannot be negative
if =>...our solution
now find sides length:
so, the perimeter is