$\frac{dy}{dt} = (1-y)(3-y)(5-t)$
ODE is seperable with equilibrium $y=1,3$ for $y\neq1, y\neq3$ we have
$\frac{1}{(y-1)(y-3)}\frac{dy}{dt} = (5-t)$
$\frac{1}{2}\frac{1}{(y-1)(y-3)}\frac{dy}{dt} = (5-t)$ $\color{red}{*}$
$\int\frac{1}{2}\left(\frac{1}{y-3}-\frac{1}{y-1}\right) dy = \int(5-t)dt$ $\color{blue}{*}$
$\frac{1}{2}ln|{y-3}|-\frac{1}{2}ln|{y-1}|= 5t-\frac{1}{2}t^2+\frac{1}{2}C$
$ln|\frac{{y-3}}{{y-1}}|=10t-t^2+C$
$\frac{{y-3}}{{y-1}}=Kexp(10-t^2)$
$y=\frac{Kexp(10-t^2)-3}{Kexp(10-t^2)-1}$
$\color{red}{*}$"I did not understand this step why they put $1/2$ here"
$\color{blue}{*}$"the two terms in bracket dot product should be addition not substraction "