Cat and Mouse Picture
A picture of the cat's trajectory has been included. For some time $t$ we've drawn a tangent line of the cat's path and where it intersects the $x$ axis is the mouse's position.
Define $D(t)$ and $x(t)$ as the distance between the cat and mouse and position of the cat at time $t$ respectively. Now
$$D(t) = c - S_ct + \int_{t=0}^t S_m\cos \theta \ \mathbb{d}t$$
In other words, $D(t)$ is the initial distance between the cat and mouse, minus the distance the cat closes between them, plus the integral of the component of the distance the mouse spends running away from the cat. Define $t_f$ as the time when the cat catches the mouse. By similar triangles $\cos \theta = \mathbb{d}x/(S_c \mathbb{d}t)$. Hence
$$D(t_f) = 0 = c - S_c t_f +\frac{S_m}{S_c}\int_{x=0}^{x(t_f)} \mathbb{d}x $$
where the limits were changed to account for the change in integration variable. Using $x(t_f) =S_m t_f$
$$D(t_f) = 0 = c - S_c t_f + \frac{S_m^2}{S_c}t_f$$
$$ \implies t_f = \frac{c}{S_c - \frac{S_m^2}{S_c}}$$
and the length of the cat's path is
$$S_c t_f = \frac{c}{1 - \frac{S_m^2}{S_c^2}} $$