I'm stuck on this multi-step pythagoren Therorem, I have the answer for the first top triangle which is square root 20 and then i've gotten to the last step to solve for x which is 45=x2 but it asks to factor the largest perfect square which of 45 might be 9? i'm confused

Im stuck on this multistep pythagoren Therorem I have the answer for the first top triangle which is square root 20 and then ive gotten to the last step to solv class=