Problem

Source: 2021 Yasinsky Geometry Olympiad VIII-IX p2 , Ukraine

Tags: geometry, rectangle, rotation



Given a rectangle $ABCD$, which is located on the line $\ell$ They want it "turn over" by first turning around the vertex $D$, and then as point $C$ appears on the line $\ell$ - by making a turn around the vertex $C$ (see figure). What is the length of the curve along which the vertex $A$ is moving , at such movement, if $AB = 30$ cm, $BC = 40$ cm? (Alexey Panasenko)