We can solve for the value of x using pythagorean theorem
where c is the hypotenuse ( in this case is 15) and a, b are the other legs of the triangle ( in this case is 8 and x).
Let's substitute the given values to the formula
Now please follow this solution to solve for x in: