Do the following lengths form a right triangle?

Answer:
22, no: 24, yes
Step-by-step explanation:
22 wouldn't be a triangle because when you square both sides
8^2+6^2= 81 (but 9^2 is 81) the 2 values surpasses 81
24 would be a triangle because
8^2+6^2=10^2
64+36=100