By Rational Root Theorem, all rational roots of a polynomial are in the form $\frac{p}{q}$, where $p$ divides the constant term $5$ and $q$ divides the leading coefficient $3$. One such root is $-1$. Factor the polynomial by dividing it by $a+1$. Polynomial $3a^{2}-3a+5$ is not factored since it does not have any rational roots.