since at and ak would assumingly be the same size to be equal to each other.
triangle b is right
using the converse theorem of pythagoras.
if the square of the longest side in a triangle equals the sum of the squares of the other 2 sides then the triangle is right.
longest side squared = 36² = 1296
26² + 18² = 676 + 324 = 1000 ≠ 1296
hence triangle a is not right
longest side squared = 25² = 625
20² + 15² = 400 + 225 = 625 ← correct
hence triangle b is right
a right triangle