 = 120-27\sqrt{13}\,\cos\beta+9\,\sqrt{39}\,\sin\beta , \end{align}
\begin{align} \triangle ABC:\quad \cos\beta&=\frac{a^2+c^2-b^2}{2ac} =\tfrac{\sqrt{13}}{13} ,\\\ \sin\beta&=\sqrt{1-\cos^2\beta}=\tfrac{2\sqrt{39}}{13} ,\\\ d^2&=147 ,\\\ d&=7\sqrt3 . \end{align}