If the square of the longest side is equal to the sum of the squares of the other 2 sides then the triangle is right,

53² = 2809 ← square of longest side

28² + 45² = 784 + 2025 = 2809