In triangle XYZ, the hypotenuse is 13 and the short leg is 5. In triangle PQR, the hypotenuse is 13 and the long leg is 12. Prove that the triangles are congruent.