Just need help finding X and Y

Answer:
Step-by-step explanation:
For x use the Pythagorean theorem:
[tex]x^2+6^2=10^2[/tex]
[tex]x^2+36=100[/tex] subtract 36 from both sides
[tex]x^2=64\to x=\sqrt{64}\\\\x=8[/tex]
We know: x + y = 20. Substitute:
[tex]8+y=20[/tex] subtract 8 from both sides
[tex]y=12[/tex]