Recently, I have found this problem:
If $\alpha\in (0,\pi/3)$, then find the solutions of the trigonometric system:
$$\left\{\begin{matrix} 24^2=l^2+45^2-90 l\cos\alpha \\ 51^2=l^2+45^2-90 l \cos(\frac{\pi}{3}-\alpha) \end{matrix}\right.$$
I have definitely no idea of how to proceed: I think that maybe the sum-substraction method can be useful, but when I reach: $$24^2-51^2=2\cdot l \cdot \left ( \cos\left ( \frac{\pi}{3}-\alpha \right )-\cos\alpha\right )$$ I am stuck. Any idea of how to go further?

Your equations are right (after simplification and expansion) $$L^2-90 L \cos (\alpha )+1449=0 \tag 1$$ $$L^2-45 \sqrt{3} L \sin (\alpha )-45 L \cos (\alpha )-576=0\tag2$$ From $(1)$ extract $\cos(\alpha)$ and plug it in $(2)$. You have a simple equation in $\sin(\alpha)$.