X^3+CX+D=0
Pretend X^3 is X cubed
please
Have a look at https://en.wikipedia.org/wiki/Cubic_function for the solution to this cubic equation.