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.
![P=21+21+21\sqrt[]{2}=42+21\sqrt[]{2}](https://img.qammunity.org/2023/formulas/mathematics/college/emzjralihfwxtnio05ng2ahl0icg3gdfv6.png)
Hence, the answers are 2 and 5.