364
1) Assuming this is a right triangle, the side whose length is 365 is the hypotenuse, so we can write out the Pythagorean Theorem:
365² = 27² +c²
133225 =729+ c²
133225 -729 = c²
132496= c² Take the square root on both sides
√132496 = √c²
c = 364
2) Hence, the missing leg is 364 cm