Problem

Source: 2022 Yasinsky Geometry Olympiad X-XI advanced p2 , Ukraine

Tags: geometry, perimeter



In the acute triangle $ABC$, the sum of the distances from the vertices $B$ and $C$ to of the orthocenter $H$ is equal to $4r,$ where $r$ is the radius of the circle inscribed in this triangle. Find the perimeter of triangle $ABC$ if it is known that $BC=a$. (Gryhoriy Filippovskyi)