I'm studying some lecture notes on special relativity and at some point one considers an inertial system in which a particle has $4$-velocity and $4$-acceleration given by
$$U = (c\frac{dt}{ds}, \frac{dx}{ds}, 0, 0), \quad A = (c\frac{d^2t}{ds^2}, \frac{d^2x}{ds^2}, 0, 0) \, .$$
We also know the acceleration is constant with magnitude $\kappa$.
I understand these $4$-vectors have to satisfy the equations
$$c^2(dt/ds)^2 - (dx/ds)^2 = c^2 , \quad c^2(d^2t/ds^2)^2 - (d^2x/ds^2)^2 = - \kappa^2,$$
though I don't understand why there is a minus sign in front of $\kappa$ (does one implicitly assume the acceleration is opposite to the x-direction?).
However, I have no clue how to deduce the following pair of equations which seem to come out of the blue, namely
$$c\frac{d^2t}{ds^2} = \kappa \sqrt{(dt/ds)^2 - 1} , \quad \frac{d^2x}{ds^2} = \kappa \frac{dt}{ds}.$$
Any hint?