Squares $S_1$ and $S_2$ are inscribed in right triangle $ABC$, as shown in the figures below. Find $AC + CB$ if area $(S_1) = 441$ and area $(S_2) = 440$.
With legs $a,b$ and hypotenuse $c$: the square at the right angle has side $\frac{ab}{a+b}=21$; the square on the hypotenuse has side $\frac{abc}{ab+c^2}=\sqrt{440}$.
Let $x=a+b$. Then $ab=21x$ and $c^2=x^2-42x$, and squaring the second: $\frac{441x^2(x^2-42x)}{(x^2-21x)^2}=\frac{441x(x-42)}{(x-21)^2}=440$.
So $441(x^2-42x)=440(x-21)^2$, i.e.\ $x^2-42x=440\cdot441$, $x=21+441=462$. The answer is $\boxed{462}$.
Squares $S_1$ and $S_2$ are inscribed in right triangle $ABC$, as shown in the figures below. Find $AC + CB$ if area $(S_1) = 576$ and area $(S_2) = 560$.