quadratic formula by using factoring method