A system is described by the transfer function
$$G_p(s)=\frac{s+2}{(s+1)(s+3)}.$$
A PI-regulator is connected to the system making it a closed loop system.
So the transfer function for the PI-regulator is $$G_r(s)=K\left(1+\frac{1}{T_is}\right).$$
So the transfer function for the system becomes $$G(s)=\frac{G_pG_r}{1+G_pG_r}$$ where $$G_pG_r=\frac{K(sT_i+1)(s+2)}{sT_i(s+1)(s+3)}$$ and $$1+G_pG_r=\frac{sT_i(s+1)(s+3)+K(sT_i+1)(s+2)}{sT_i(s+1)(s+3)}$$ thus the denominator of $G$ is $$sT_i(s+1)(s+3)+K(sT_i+1)(s+2).$$ But the answer is $$s^3 + (4 + K)s^2 + \left( \frac{1}{T_i}+ 2K + 4\right)s + 2K.$$