The sides of certain right triangles are Pythagorean triples. In some such triangles, the sum of one
of the sides of the triangle plus the hypotenuse equals 49 cm. Find the sum, in cm, of the lengths of
the third sides of all triangles that satisfy this criteria.