A rectangle has dimensions $a$ units by $b$ units with $a > b$. A diagonal divides the rectangle into two triangles. A square, with sides parallel to those of the rectangle, is inscribed in each triangle. Find the distance between the vertices (of the squares) that lie in the interior of the rectangle.
In the solution, we find that one square has an 'interior' vertex $(\frac{ab}{a+b},\frac{ab}{a+b})$, because the vertex must lie on both $y=x$ and $y = -\frac{b}{a}x + b$. Then the author asserts that symmetry permits us to conclude that the coordinates of the other vertex of the other inscribed square are $(\frac{a^2}{a+b}.\frac{b^2}{a+b})$. I have drawn several pictures trying to see the symmetry, but I can't seem to discern it, so I left no other option but a (relatively) brute-force method. Perhaps someone with a more geometric eye could kindly point out the symmetry being appealed to.


You've set $(0,0)$ as the bottom left vertex and the diagonally opposite vertex as $(a,b)$. In addition, the diagonal drawn has negative gradient.
I believe 'by symmetry' just simply means that if $(p,q)$ is the interior vertex of one square, since the diagram has a rotational symmetry of $180°$ about the centre of the rectangle, then the interior vertex of the other square will be $(a-p, b-q)$.
Here, $(p,q)=(\frac{ab}{a+b},\frac{ab}{a+b})$, so
$$(a-p, b-q)=\left(a-\frac{ab}{a+b},b-\frac{ab}{a+b}\right)=\left(\frac{a^2+ab-ab}{a+b},\frac{b^2+ab-ab}{a+b}\right)=\left(\frac{a^2}{a+b},\frac{b^2}{a+b}\right)$$