Two sides of a right triangle are equal to 3m and 4m. Find the length of the third side. (Two cases)
If the two given sides are both legs, then the length of the third side is ____ m.
If the two given sides are a leg and the hypotenuse, then the length of the third side is _____ m.