$\triangle ABC$ is a right triangle ($\measuredangle A = 90^{\circ} $). There is two point $D , E$ on $BC$ such that $BD = DE = EC$. We also know that $AD = \sin x,\,$ and $AE =\cos x\,$ such that ($0^{\circ}<x<90^\circ$) (or $AD = \cos x$ and $AE =\sin x$; it is not important). How can we find the exact length of $BD?$
I must note that the length of BD will be a real constant number and it is not something parametric like $BD = a + b -c$.

We may suppose that $$A(0,0),\quad B(0,b),\quad C(c,0)$$ where $b,c\gt 0$.
Then, we get $$D\left(\frac c3,\frac{2b}{3}\right),\quad E\left(\frac{2c}{3},\frac b3\right)$$ from which we have $$AD^2=\frac{c^2+4b^2}{9},\quad AE^2=\frac{4c^2+b^2}{9}$$ Since $\sin^2x+\cos^2x=1$, we have $$1=AD^2+AE^2=\frac{5b^2+5c^2}{9}\implies b^2+c^2=\frac 95$$ Therefore, $$BD=\sqrt{\frac{c^2+b^2}{9}}=\sqrt{\frac 19\times\frac 95}=\color{red}{\frac{1}{\sqrt 5}}$$