We'll be using the Pythagoras property to solve this question.
According to the Pythagoras property,
H denotes hypotenuse
B denotes base
P denotes perpendicular
Here,
→ (x)² = (35 cm)² + (12 cm)²
→ x² = 1225 cm² + 144 cm²
→ x² = 1369 cm²
→ x = √(1369 cm²)
→ x = 37 cm
Therefore, value of x is 37 cm.