Pythagoras Theorem:
hipotenuse²=leg₁²+leg₂²
First posible triangle:
hypotenuse=13    (13²=169)
leg₁=12                ( 12²=144)
leg₂=5                  (5²=25)
13³=144 + 25 
Answer:can be side lengths of a triangle
Second triangle:
 hypotenuse=12.6    (12.6²=158.76)
leg₁=6.7                ( 6.7²=44.89)
leg₂=6.5                  (6.5²=42.25)
leg₁²+leg₂²=44.89+42.25=87.14≠158.76
Answer: cannot be side lenghts of a triangle.
third triangle:
hypotenuse=13    (13²=169)
leg₁=12                ( 12²=144)
leg₂=11                  (11²=121)
leg₁²+leg₂²=144+121=265≠169
Answer: cannot be side lenghts of a triangle. 
fourth triangle:
hypotenuse=13   (13²=169)
leg₁=6                ( 6²=36)
leg₂=4                  (4²=16)
leg₁²+leg₁²=36+16=52≠169
Answer: cannot be side lenghts of a triangle. 
        
                    
             
        
        
        
X+y+z=32
x=z-4
y=x+1
z=x+4
x+x+1+x+4=32
3x+5=32
3x=27
x=9
y=10
z=13
Hope this helps :)