For this you would use the Pythagorean Theorem to find the length of x.
a² + b² = c²
5² + 12² = x²
25 + 144 = 169²
[tex]\sqrt{169}[/tex] = 13
x=13