For a parametric curve, the speed is just the modulus of the tangent vector, hence if $$\gamma(t)=(at-b\sin t,a-b\cos t)$$ we have $$ \dot{\gamma}(t) = (a-b\cos t,b\sin t) $$ so $$ v^2(t) = a^2+b^2-2ab\cos t $$ and the stationary points for $v(t)$ are the ones for which $\cos t=\pm 1$: $$ \max_{t} v(t) = |a+b|,$$ $$ \min_{t} v(t) = |a-b|.$$