In my opinion You are proceeding in the right direction!... what You have to do now is to find an explicit expression of x as function of t by resolving the algebraic equation...

(1)

The (1) is a third order equation so that You obtain [in general...] three different solution and among them the 'right' solution is determined [when possible...] by the 'initial conditions'...

Kind regards