In the CMIS 102 week 3 hands on lab I have to configure the code to have it give the hypotenuse and the perimeter of a right triangle and I cannot

In the CMIS 102 week 3 hands on lab I have to configure the code to have it give the hypotenuse and the perimeter of a right triangle and I cannot figure out how to do that! Can you help?