Answer:
x = 8
Explanation:
Since the triangle is right use Pythagoras' theorem
The square on the hypotenuse is equal to the sum of the squares on the other 2 sides, that is
(x + 9)² = x² + 15² ← expand factor on left side
x² + 18x + 81 = x² + 225 ( subtract x² from both sides )
18x + 81 = 225 ( subtract 81 from both sides )
18x = 144 ( divide both sides by 18 )
x = 8