
Note $\angle A = 180 - 3x - (120-x) = 60-2x$. Apply the sine rule to the triangles ABD and BCD,
$$\frac ab = \frac{\sin(60-2x)}{\sin(120-x)}=\frac{\sin 2x}{\sin 3x}$$
Rearrange and then factorize the equation as follows,
$$\sin(120-x)\sin 2x = \sin(60-2x)\sin 3x$$
$$\cos(120-3x)-\cos(120+x)=\cos(60-5x)-\cos(60+x)$$
$$\cos(120-3x)+\cos(60+x)=\cos(120+x)+\cos(60-5x)$$
$$\sin x\cos(30-2x)= \sin 2x\cos(30+3x)$$
$$\sin x[\cos(30-2x)-2\cos x\cos(30+3x)]=0$$
$$\sin x[\cos(30-2x)-\cos(30+2x)-\cos(30+4x)]=0$$
$$\sin x[\sin 2x-\sin(60-4x)]=0$$
$$\sin x\cos(30-x)\sin(30-3x)=0$$
which leads to $\sin(30-3x)=0$ and the solution $x=10$.