Yes it is. Input the numbers into the pythagorean theorem,

and if they equal each other it is a right triangle.
Depending on what the number is in for the bag
Do you have a specific question or like nd question example with numbers
¿Tiene una pregunta específica o como ejemplo de pregunta con números?
I need a photo to help you