Answer
$s=\sin t -\cos t$
Work Step by Step
We need to find the anti-derivative for $\dfrac{ds}{dx}=\cos t+\sin t$
Thus, we have: $s=\sin t -\cos t+C$
Apply the initial condition $s(\pi)=1$ in the above equation to solve for $C$.
we get: $1=\sin \pi -\cos \pi+C \implies C=0$
Hence, $s=\sin t -\cos t$