Solve for d 3d^2+8d=40