How do i factor Plynomials?

That is a big subject, especially for cubics and higher order polynomials.

I recommend that you start by reading this:

http://tutorial.math.lamar.edu/Classes/Alg/Factoring.aspx