Solving a firing-with-prediction puzzle in the game I am developing I found myself looking on the internet of solutions about triangle and its side. It turns out there is very few information about quotient of two sides.

Let ABC be a triangle. AB = a, CB/AC = b, ∠CAB = alpha. I need to find AC.
$CB = AC \cdot$ b $= xb$. Now use the law of cosines.