Factorization By Substitution Method