So one day Bombelli was trying to solve $$x^3=15x+4$$ then he got $$x=\sqrt[3]{2+\sqrt{-121}}+\sqrt[3]{2-\sqrt{-121}}.$$
How did he know that $\sqrt[3]{2+\sqrt{-121}}=2+\sqrt{-1}$ and $\sqrt[3]{2-\sqrt{-121}}=2-\sqrt{-1}$?
So that $x=4$?
I have tried using $(a+ib)^3=2+1i$ then $a^3-3ab^2=2$ and $b^3-3a^2b=11$.
But it seems that you need to guess the solution.
I suppose that Bombelli, instead of trying to solve the equation $x^3=15x+4$, actually created it, knowing from the start that $4$ is a solution. And, if there is a number $a+b\sqrt{-1}$, with $a,b\in\Bbb Z$ such that$$\left(a+b\sqrt{-1}\right)^3=2+\sqrt{-121}=2+11\sqrt{-1}$$then $a^3-3ab^2=2$ and $3a^2b-b^3=11$. But note that$$a^3-3ab^2=2\iff a(a^2-3b^2)=2$$and, since we are searching for integers, there aren't as many choices as that…