The other answers are basically saying this, but the trick to the limit is to use substitution of the equation $s()$. If $s(t)=−16t^2+40t+24$, then to get $s(x)$ you just replace the $t$s with $x$s: $s(x)=-16x^2+40x+24$.
Then in your limit function, replace $s(t)$ with $−16t^2+40t+24$ and replace $s(x)$ with $-16x^2+40x+24$. From there, you can simplify the equation a bit. Then, since you're taking the limit as $x\rightarrow t$, you can just replace all the $x$s with $t$s and simplify further.
$\lim_{x\rightarrow t}{s(x)-s(t)\over x-t}$ [Starting equation. The goal here is to "cancel out" the denominator so division by zero can be ignored.]
$=\lim_{x\rightarrow t}{(-16x^2+40x+24) - (−16t^2+40t+24)\over x-t}$ [Substitute definition of $s()$.]
$=\lim_{x\rightarrow t}{(-16x^2+40x+24)+(16t^2-40t-24)\over x-t}$ [Distribute the $-1$ to the second term.]
$=\lim_{x\rightarrow t}{-16x^2+40x+24+16t^2-40t-24\over x-t}$ [Don't need the parentheses.]
$=\lim_{x\rightarrow t}{(16t^2-16x^2)+(40x-40t)+(24-24)\over x-t}$ [Re-arrange to put similar terms near each other.]
$=\lim_{x\rightarrow t}{16(t^2-x^2)+40(x-t)\over x-t}$ [Factor the $16$ and $40$. $24-24=0$, remove the terms.]
$=\lim_{x\rightarrow t}{16(x+t)(t-x)+40(x-t)\over x-t}$ [Factor $t^2-x^2$.]
$=\lim_{x\rightarrow t}{-16(x+t)(x-t)+40(x-t)\over x-t}$ [We have $(t-x)$ but we need $(x-t)$, so factor out a $-1$.]
$=\lim_{x\rightarrow t}{(x-t)(-16(x+t)+40)\over x-t}$ [Factor $(x-t)$.]
$=\lim_{x\rightarrow t}{-16(x+t)+40\over 1}$ [Note that $(x-t)$ is a factor of numerator and denominator and cancel like terms. This is only allowed because we're taking the limit as the denominator gets arbitrarily close to zero, and not actually evaluating the function at zero.]
$=\lim_{x\rightarrow t}{-16(x+t)+40}$ [Simplify slightly.]
$=\lim_{x\rightarrow t}{-16(t+t)+40}$ [Now that we've canceled the denominator, set $x$ to our limit, $t$.]
$=\lim_{x\rightarrow t}{-16(2t)+40}$ [$t+t$ is $2t$.]
$=\lim_{x\rightarrow t}{-32t+40}$ [Simplify.]
$={-32t+40}$ [Because there's no $x$ anymore, we've found our limit. Huzzah!]
From here you can easily solve $v(t)=-32t+40=0$ for $t$.