Right triangle ABC has side lengths AB=3, BC=4, and AC=5. Square XYZW is inscribed in triangle ABC with X and Y on AC, W on AB, and Z on BC. What is the side length of the square?
https://web2.0calc.com/questions/right-abc-has-ab-3-bc-4-and-ac-5-square-xyzw-is-inscribed-in-abc-with-x-and-y-on-ac-w-on-ab-and-z-on-bc-what-is-the-side-length-of-the-square
Take a look here.