I'm a highschooler and this is the question:
"In a right triangle $\triangle ABC$, in which $\angle C = 90°$ and $\mid BC\mid < \mid AC \mid$, a line was constructed to go through point $C$ and crossing the hypotenuse in point $D$, $\mid AD\mid : \mid DB\mid = 2:1$. Given that $\mid BC\mid = \sqrt3$ and $\angle DCB = 30°$, calculate $\mid AB\mid$."
This is an image I have done to illustrate the question

I have tried to do it through many ways in the last few hours, like using the cosin theorem, using areas, I have even tried constructing right triangles inside the $\triangle ABC$ scaled 1:3 and 2:3 with the original one, but nothing worked for me. Every time I fail on calculating $\mid CD\mid$, and I might have done a calculational error. Can someone please help me? Sorry for any mistakes, this is my first post and English is not my first language.
Hint: