Urgent!! Help math!!

6,7,9 is not ringt triangle
18,32,40 is not right triangle
24,32,40 is right triangle
10,24,26 is right triangle