please help !! thanks in advance :D

Answer:
Step-by-step explanation:
Look at the picture.
We have the right triangle (red). Use the Pythagorean theorem:
[tex]leg^2+leg^2=hypotenuse^2[/tex]
We have
[tex]leg=15,\ leg=r-9,\ hypotenuse=r[/tex]
Substitute:
[tex]15^2+(r-9)^2=r^2[/tex] use (a - b)² = a² - 2ab + b²
[tex]225+r^2-2(r)(9)+9^2=r^2[/tex]
[tex]225+r^2-18r+81=r^2[/tex] subtract r² from both sides
[tex]306-18r=0[/tex] subtract 306 from both sides
[tex]-18r=-306[/tex] divide both sides by (-18)
[tex]r=17[/tex]