a right triangle is shown in the figure below x+5 and 15 what is the value of x

ANSWER
x = 20
EXPLANATION
We have the right-angled triangle.
We can find the value of x by using Pythagoras theorem:
[tex]a^2=b^2+c^2[/tex]where a = hypotenuse, b and c are the other two sides.
So, we have that:
[tex]\begin{gathered} \mleft(x+5\mright)^2=x^2+15^2 \\ (x\text{ + 5)(x + 5)}=\text{ }x^2\text{+ 225} \\ x^2\text{+ 5x + 5x + 25 }=x^2\text{ + 225} \\ x^2-x^2+\text{10x = 225 - 25} \\ \Rightarrow\text{ 10x = 2}00 \\ x\text{ = }\frac{200}{10} \\ x\text{ = 2}0 \end{gathered}[/tex]That is the value of x.