Solution:
In addition to the given figure we consider the square erected outward on the side AB with center C2. Since there is a homothety which maps the inscribed square with center C1 onto the outward erected square, C,C1 and C2 lie on a line.
The altitude hc meets AB at Hc and let ∣AHc∣=p,∣HcB∣=q. Further let Mc be the midpoint of AB and C′ the intersection point of CC2 with AB. Finally we set ∣AC′∣=c1 and ∣C′B∣=c2. All partial segments of AB exist because the triangle ABC is acute-angled. For the other sides of the triangle let the corresponding

points and segments be defined analogously.
By the intercept theorems (Strahlensätze) we have ∣CHc∣∣HcC′∣=∣McC2∣∣C′Mc∣, i.e. hcc1−p=21c21c−c1⇒c1=c+2hcc(p+hc).
Analogously c2=c+2hcc(q+hc) and we obtain c2c1=hcq+1hcp+1. (For α=β we have c2c1=1.)
The angles between the altitudes and the two respective adjacent sides are denoted cyclically by γ1,γ2 resp. α1,α2 resp. β1,β2. Then α1=γ2(=90∘−β),β1=α2(=90∘−γ) and γ1=β2(=90∘−α). Further hcp=tanγ1 and hcq=tanγ2, hence c2c1=tanγ2+1tanγ1+1. Analogously a2a1=tanα2+1tanα1+1 and b2b1=tanβ2+1tanβ1+1. Thus we have

a2a1⋅b2b1⋅c2c1=(tanα2+1)(tanβ2+1)(tanγ2+1)(tanα1+1)(tanβ1+1)(tanγ1+1)=tanγ2+1tanα1+1⋅tanα2+1tanβ1+1⋅tanβ2+1tanγ1+1=1⋅1⋅1=1.
By the converse of Ceva's theorem, the lines AA′=AA1, BB′=BB1 and CC′=CC1 therefore intersect in one point.
Remark: Some participants conjectured that the lines AA1 etc. are the angle bisectors of the given triangle. This conjecture is false, as can be seen in a very acute, almost right-angled triangle. Ceva's theorem is not necessary for the proof; there are other possible solutions, e.g. using spiral similarities (rotation-dilations).