Thanks for helping me solving this problem
Let $ABCD$ be a square such that $AB = 4$. $A$ a point on the side $[AB]$ such that $AE = 1$
The segments $[DE]$ and $[AC]$ intersect at point $H$
-Calculate the distance $HE$
My attempt was to use thales on the triangles $HDC$ and $HAE$ and i found :
$\frac{HE}{HD}=\frac{HA}{HC}=\frac{AE}{DC}$ that means : $\frac{x}{HD}=\frac{HA}{HC}=\frac{1}{4}$ then i tried to calculate $HD$ using the rectangle triangle $DAE$ but i always have two unknowns.

You know $AD$ and $AE$, so you can calculate $DE$ using Pythagoras. Now you have $$DE=HD+x$$ $$\frac{x}{HD}=\frac14$$ This is enough to deduce $x$: just express $HD$ in terms of $x$ using the second equation, and substitute that into the first equation.