Check the picture below.
so let's notice, the green triangle and the red one, both have a hypotenuse of 26 and a side of 24, so the missing side must be the same, namely "x".
now, let's inspect the triangle on the left-hand-side, let's see, it has a hypotenuse of 25, and a side of 24.