\displaystyle \begin{align} & \text{Gain in KE }=\frac{1}{2}\times 3\times {{15}^{2}}-\frac{1}{2}\times 3\times {{3}^{2}} \\ & =324\text{ J} \end{align}