In order to find the value of x, use the Pythagorean theorem, as follow:
In this case, h = x is the hypotenuse and c1 anc c2 are the legs (c1 = 12, c2 = 9).
By replacing the previous values into the formula for h and simplifying you get:
Hence, the value of x is 25