how do u factor an expresion

http://www.wtamu.edu/academic/anns/mps/math/mathlab/col_algebra/col_alg_tut7_factor.htm