Consider a point inside a reference triangle ,
construct line segments , , and . The Ehrmann congruent squares point is the unique point
such that three equal squares can be inscribed internally on the sides of such that they touch the line segments in exactly two
points each.

The side lengths of these triangles are given by the smallest root of the cubic equation