solve({x = (g + h*(y0 - x0*t)^2)/(x0*(1 + h*t^2)), y = y0 + t*(x - x0), g = x^3 + a*x + b, h = 3*x^3 + 4*a},{t})