This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] (The PDF drops the brackets and the interval $S=(-1,\infty)$ is garbled; they are read as above.) The sign of $f'(t)$ changes only at the odd-power roots $t=0,\frac12,2,5$ ($t=3$ has an even power, so no change). For $t>5$ all factors are positive, so $f'>0$ there; the sign then alternates leftwards: $-$ on $(2,5)$, $+$ on $\left(\frac12,2\right)$, $-$ on $\left(0,\frac12\right)$, $+$ on $(-1,0)$. Local maxima ($+\to-$) at $x=0$ and $x=2$: $p=0^2+2^2=4$. Local minima ($-\to+$) at $x=\frac12$ and $x=5$: $q=\frac{11}2$. $p^2+2q=16+11=27$. Answer: 27.