To check if the triangle is congruent or not, we have to see if they form Pythagorean triplet, that is :
sum of squares of smaller sides should be equal to square of the longest side.
let's check it out ~
Therefore, the sides 5, 12 and 13 forms a right angle.