It is important to know that the given hypotenuse is not double than the given leg because the square root of 2 is not equal to 2. This indicates that the right triangle is special 45-45-90.
As you can see in the image above, this special triangle has equal legs. Then, we add the sides to find the perimeter.
[tex]P=21+21+21\sqrt[]{2}=42+21\sqrt[]{2}[/tex]