Mathematically we know that the position is the integral of the velocity as a function of time, that is, the general formula for determining the position as a function of velocity would be given by
[tex]x(t) = x_0 +\int_0^t vdt[/tex]
Here
[tex]x_0[/tex] represents the initial position, and the integral, the position with respect to the speed of the object within a certain time
Replacing and considering that there is no starting position,
[tex]v(t) = -24[/tex]
[tex]x (t) = -24 \int dt[/tex]
[tex]x(t) = -24t+C[/tex]