A particle $P$ of mass $0.5\,\mathrm{kg}$ moves in a straight line. At time $t\,\mathrm{s}$ the velocity of $P$ is $v\,\mathrm{m\,s^{-1}}$ and its displacement from a fixed point $O$ on the line is $x\,\mathrm{m}$. The only forces acting on $P$ are a force of magnitude $150/(x+1)^2\,\mathrm{N}$ in the direction of increasing displacement and a resistive force of magnitude $450/(x+1)^3\,\mathrm{N}$. When $t=0$, $x=0$ and $v=20$.
Find $v$ in terms of $x$, giving your answer in the form
$$v=\frac{Ax+B}{x+1},$$
where $A$ and $B$ are constants to be determined. [6]