It is a quadratic equation in $c$ with discriminant $ \Delta: =d^4-2(d+1)^2+72$, but for all $ y>5$ you have $ (d^2-2)^2<\Delta<d^4$